> ## Documentation Index
> Fetch the complete documentation index at: https://claw-tw.jackle.pro/llms.txt
> Use this file to discover all available pages before exploring further.

# security（安全性審查）

# `openclaw security`

安全性工具（包含審查與選用的修復操作）。

相關資訊：

* 安全性手冊：[安全性 (Security)](/zh-Hant/gateway/security)

## 安全審查 (Audit)

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
# 執行基礎安全審查
openclaw security audit

# 執行深度審查
openclaw security audit --deep

# 執行審查並自動套用修復建議
openclaw security audit --fix
```

審查工具會在下列情況發出警告：

* 多個私訊 (DM) 發送者共享主要會話時。對於共享收件匣，建議將 `session.dmScope` 設定為 `"per-channel-peer"`（若為多帳戶頻道則設為 `"per-account-channel-peer"`）。
* 當使用小型模型 (`<=300B`) 且在未啟用沙盒的情況下開啟網頁或瀏覽器工具時。
