跳轉到主要內容

Documentation Index

Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

openclaw security audit 會輸出以 checkId 為鍵的結構化發現項目。本頁是這些 ID 的參考目錄。如需高階威脅模型與強化指引,請參閱 安全性 你在實際部署中最可能看到的高訊號 checkId 值(非完整列表):
checkId嚴重性重要性主要修正鍵/路徑自動修正
fs.state_dir.perms_world_writable重大其他使用者/程序可以修改完整的 OpenClaw 狀態~/.openclaw 上的檔案系統權限
fs.state_dir.perms_group_writable警告群組使用者可以修改完整的 OpenClaw 狀態~/.openclaw 上的檔案系統權限
fs.state_dir.perms_readable警告狀態目錄可被其他人讀取~/.openclaw 上的檔案系統權限
fs.state_dir.symlink警告狀態目錄目標會成為另一個信任邊界狀態目錄檔案系統配置
fs.config.perms_writable重大其他人可以變更驗證/工具政策/設定~/.openclaw/openclaw.json 上的檔案系統權限
fs.config.symlink警告不支援寫入符號連結的設定檔,且會增加另一個信任邊界取代為一般設定檔,或將 OPENCLAW_CONFIG_PATH 指向真實檔案
fs.config.perms_group_readable警告群組使用者可以讀取設定權杖/設定值設定檔上的檔案系統權限
fs.config.perms_world_readable重大設定可能暴露權杖/設定值設定檔上的檔案系統權限
fs.config_include.perms_writable重大設定引入檔可被其他人修改openclaw.json 參照的引入檔權限
fs.config_include.perms_group_readable警告群組使用者可以讀取引入的祕密/設定值openclaw.json 參照的引入檔權限
fs.config_include.perms_world_readable重大引入的祕密/設定值可被所有人讀取openclaw.json 參照的引入檔權限
fs.auth_profiles.perms_writable重大其他人可以注入或取代已儲存的模型憑證agents/<agentId>/agent/auth-profiles.json 權限
fs.auth_profiles.perms_readable警告其他人可以讀取 API 金鑰與 OAuth 權杖agents/<agentId>/agent/auth-profiles.json 權限
fs.credentials_dir.perms_writable重大其他人可以修改通道配對/憑證狀態~/.openclaw/credentials 上的檔案系統權限
fs.credentials_dir.perms_readable警告其他人可以讀取通道憑證狀態~/.openclaw/credentials 上的檔案系統權限
fs.sessions_store.perms_readable警告其他人可以讀取工作階段文字記錄/中繼資料工作階段儲存區權限
fs.log_file.perms_readable警告其他人可以讀取已遮蔽但仍敏感的日誌Gateway 日誌檔權限
fs.synced_dir警告iCloud/Dropbox/Drive 中的狀態/設定會擴大權杖/文字記錄暴露範圍將設定/狀態移出同步資料夾
gateway.bind_no_auth重大遠端繫結沒有共享祕密gateway.bind, gateway.auth.*
gateway.loopback_no_auth重大反向代理的 local loopback 可能變成未驗證gateway.auth.*, 代理設定
gateway.trusted_proxies_missing警告存在反向代理標頭,但未受信任gateway.trustedProxies
gateway.http.no_auth警告/重大Gateway HTTP API 可在 auth.mode="none" 下存取gateway.auth.mode, gateway.http.endpoints.*
gateway.http.session_key_override_enabled資訊HTTP API 呼叫者可以覆寫 sessionKeygateway.http.allowSessionKeyOverride
gateway.tools_invoke_http.dangerous_allow警告/重大重新啟用透過 HTTP API 使用危險工具gateway.tools.allow
gateway.nodes.allow_commands_dangerous警告/重大啟用高影響 Node 命令(相機/螢幕/聯絡人/行事曆/SMS)gateway.nodes.allowCommands
gateway.nodes.deny_commands_ineffective警告類似模式的拒絕項目不會比對 Shell 文字或群組gateway.nodes.denyCommands
gateway.tailscale_funnel重大公開網際網路暴露gateway.tailscale.mode
gateway.tailscale_serve資訊已透過 Serve 啟用尾網暴露gateway.tailscale.mode
gateway.control_ui.allowed_origins_required重大非 local loopback Control UI 沒有明確的瀏覽器來源允許清單gateway.controlUi.allowedOrigins
gateway.control_ui.allowed_origins_wildcard警告/重大allowedOrigins=["*"] 會停用瀏覽器來源允許清單gateway.controlUi.allowedOrigins
gateway.control_ui.host_header_origin_fallback警告/重大啟用 Host 標頭來源後援(降低 DNS 重新綁定強化程度)gateway.controlUi.dangerouslyAllowHostHeaderOriginFallback
gateway.control_ui.insecure_auth警告已啟用不安全驗證相容性切換gateway.controlUi.allowInsecureAuth
gateway.control_ui.device_auth_disabled重大停用裝置身分檢查gateway.controlUi.dangerouslyDisableDeviceAuth
gateway.real_ip_fallback_enabled警告/重大信任 X-Real-IP 後援可能因代理設定錯誤而啟用來源 IP 偽造gateway.allowRealIpFallback, gateway.trustedProxies
gateway.token_too_short警告較短的共享權杖更容易被暴力破解gateway.auth.token
gateway.auth_no_rate_limit警告暴露的驗證若沒有速率限制,會增加暴力破解風險gateway.auth.rateLimit
gateway.trusted_proxy_auth重大代理身分現在成為驗證邊界gateway.auth.mode="trusted-proxy"
gateway.trusted_proxy_no_proxies重大在沒有受信任代理 IP 的情況下使用受信任代理驗證並不安全gateway.trustedProxies
gateway.trusted_proxy_no_user_header重大受信任代理驗證無法安全解析使用者身分gateway.auth.trustedProxy.userHeader
gateway.trusted_proxy_no_allowlist警告受信任代理驗證會接受任何已驗證的上游使用者gateway.auth.trustedProxy.allowUsers
gateway.trusted_proxy_allow_loopback警告受信任代理驗證會接受明確允許的迴圈代理來源gateway.auth.trustedProxy.allowLoopback
gateway.probe_auth_secretref_unavailable警告深度探測無法在此命令路徑中解析驗證 SecretRefsdeep-probe 驗證來源 / SecretRef 可用性
gateway.probe_failed警告/嚴重即時 Gateway 探測失敗Gateway 可連線性/驗證
discovery.mdns_full_mode警告/嚴重mDNS 完整模式會在本機網路上公告 cliPath/sshPort 中繼資料discovery.mdns.mode, gateway.bind
config.insecure_or_dangerous_flags警告已啟用任何不安全/危險的偵錯旗標多個鍵(請參閱發現項目詳細資訊)
config.secrets.gateway_password_in_config警告Gateway 密碼直接儲存在設定中gateway.auth.password
config.secrets.hooks_token_in_config警告Hook bearer token 直接儲存在設定中hooks.token
hooks.token_reuse_gateway_token嚴重Hook 輸入 token 也會解鎖 Gateway 驗證hooks.token, gateway.auth.token
hooks.token_too_short警告Hook 輸入較容易遭暴力破解hooks.token
hooks.default_session_key_unset警告Hook 代理執行會展開到產生的個別請求工作階段hooks.defaultSessionKey
hooks.allowed_agent_ids_unrestricted警告/嚴重已驗證的 Hook 呼叫者可以路由到任何已設定的代理hooks.allowedAgentIds
hooks.request_session_key_enabled警告/嚴重外部呼叫者可以選擇 sessionKeyhooks.allowRequestSessionKey
hooks.request_session_key_prefixes_missing警告/嚴重外部工作階段金鑰格式沒有界限hooks.allowedSessionKeyPrefixes
hooks.path_root嚴重Hook 路徑是 /,使輸入更容易發生碰撞或錯誤路由hooks.path
hooks.installs_unpinned_npm_specs警告Hook 安裝記錄未固定到不可變的 npm 規格Hook 安裝中繼資料
hooks.installs_missing_integrity警告Hook 安裝記錄缺少完整性中繼資料Hook 安裝中繼資料
hooks.installs_version_drift警告Hook 安裝記錄與已安裝套件不一致Hook 安裝中繼資料
logging.redact_off警告敏感值會洩漏到記錄/狀態logging.redactSensitive
browser.control_invalid_config警告Browser control 設定在執行階段前無效browser.*
browser.control_no_auth嚴重Browser control 在沒有 token/密碼驗證的情況下暴露gateway.auth.*
browser.remote_cdp_http警告透過純 HTTP 的遠端 CDP 缺少傳輸加密瀏覽器設定檔 cdpUrl
browser.remote_cdp_private_host警告遠端 CDP 目標是私有/內部主機瀏覽器設定檔 cdpUrl, browser.ssrfPolicy.*
sandbox.docker_config_mode_off警告Sandbox Docker 設定存在但未啟用agents.*.sandbox.mode
sandbox.bind_mount_non_absolute警告相對 bind mount 可能會以不可預測的方式解析agents.*.sandbox.docker.binds[]
sandbox.dangerous_bind_mount嚴重Sandbox bind mount 目標是被封鎖的系統、憑證或 Docker socket 路徑agents.*.sandbox.docker.binds[]
sandbox.dangerous_network_mode嚴重Sandbox Docker 網路使用 hostcontainer:* 命名空間加入模式agents.*.sandbox.docker.network
sandbox.dangerous_seccomp_profile嚴重Sandbox seccomp 設定檔會削弱容器隔離agents.*.sandbox.docker.securityOpt
sandbox.dangerous_apparmor_profile嚴重Sandbox AppArmor 設定檔會削弱容器隔離agents.*.sandbox.docker.securityOpt
sandbox.browser_cdp_bridge_unrestricted警告Sandbox 瀏覽器 bridge 在沒有來源範圍限制的情況下暴露sandbox.browser.cdpSourceRange
sandbox.browser_container.non_loopback_publish嚴重現有瀏覽器容器在非迴圈介面上發布 CDP瀏覽器 Sandbox 容器發布設定
sandbox.browser_container.hash_label_missing警告現有瀏覽器容器早於目前的設定雜湊標籤openclaw sandbox recreate --browser --all
sandbox.browser_container.hash_epoch_stale警告現有瀏覽器容器早於目前的瀏覽器設定 epochopenclaw sandbox recreate --browser --all
tools.exec.host_sandbox_no_sandbox_defaults警告Sandbox 關閉時,exec host=sandbox 會以關閉狀態失敗tools.exec.host, agents.defaults.sandbox.mode
tools.exec.host_sandbox_no_sandbox_agents警告Sandbox 關閉時,每個代理的 exec host=sandbox 會以關閉狀態失敗agents.list[].tools.exec.host, agents.list[].sandbox.mode
tools.exec.security_full_configured警告/嚴重主機 exec 正以 security="full" 執行tools.exec.security, agents.list[].tools.exec.security
tools.exec.fs_tools_disabled_but_exec_enabled警告檔案系統工具政策不會讓 shell 執行變成唯讀tools.deny, agents.list[].tools.deny, agents.*.sandbox.workspaceAccess
tools.exec.auto_allow_skills_enabled警告Exec 核准會隱含信任 skill bins~/.openclaw/exec-approvals.json
tools.exec.allowlist_interpreter_without_strict_inline_eval警告直譯器允許清單允許 inline eval,且不強制重新核准tools.exec.strictInlineEval, agents.list[].tools.exec.strictInlineEval, exec 核准允許清單
tools.exec.safe_bins_interpreter_unprofiled警告safeBins 中沒有明確設定檔的直譯器/執行階段 bins 會擴大 exec 風險tools.exec.safeBins, tools.exec.safeBinProfiles, agents.list[].tools.exec.*
tools.exec.safe_bins_broad_behavior警告safeBins 中的廣泛行為工具會削弱低風險 stdin-filter 信任模型tools.exec.safeBins, agents.list[].tools.exec.safeBins
tools.exec.safe_bin_trusted_dirs_risky警告safeBinTrustedDirs 包含可變或有風險的目錄tools.exec.safeBinTrustedDirs, agents.list[].tools.exec.safeBinTrustedDirs
skills.workspace.symlink_escape警告工作區 skills/**/SKILL.md 解析到工作區根目錄之外(符號連結鏈漂移)工作區 skills/** 檔案系統狀態
plugins.extensions_no_allowlist警告Plugin 已安裝但未明確設定 Plugin 允許清單plugins.allowlist
plugins.installs_unpinned_npm_specs警告Plugin 索引記錄未釘選至不可變的 npm 規格Plugin 安裝中繼資料
plugins.installs_missing_integrity警告Plugin 索引記錄缺少完整性中繼資料Plugin 安裝中繼資料
plugins.installs_version_drift警告Plugin 索引記錄與已安裝套件產生偏移Plugin 安裝中繼資料
plugins.code_safety警告/嚴重Plugin 程式碼掃描發現可疑或危險模式Plugin 程式碼 / 安裝來源
plugins.code_safety.entry_path警告Plugin 進入點路徑指向隱藏或 node_modules 位置Plugin manifest entry
plugins.code_safety.entry_escape嚴重Plugin 進入點逸出 Plugin 目錄Plugin manifest entry
plugins.code_safety.scan_failed警告Plugin 程式碼掃描無法完成Plugin 路徑 / 掃描環境
skills.code_safety警告/嚴重Skill 安裝程式中繼資料/程式碼包含可疑或危險模式Skill 安裝來源
skills.code_safety.scan_failed警告Skill 程式碼掃描無法完成Skill 掃描環境
security.exposure.open_channels_with_exec警告/嚴重共享/公開聊天室可觸及已啟用 exec 的代理channels.*.dmPolicy, channels.*.groupPolicy, tools.exec.*, agents.list[].tools.exec.*
security.exposure.open_groups_with_elevated嚴重開放群組 + elevated 工具會建立高影響的提示注入路徑channels.*.groupPolicy, tools.elevated.*
security.exposure.open_groups_with_runtime_or_fs嚴重/警告開放群組可在沒有沙箱/工作區保護的情況下觸及命令/檔案工具channels.*.groupPolicy, tools.profile/deny, tools.fs.workspaceOnly, agents.*.sandbox.mode
security.trust_model.multi_user_heuristic警告設定看起來像多使用者,但 Gateway 信任模型是個人助理分割信任邊界,或共享使用者強化(sandbox.mode、工具拒絕/工作區範圍設定)
tools.profile_minimal_overridden警告代理覆寫會繞過全域最小 profileagents.list[].tools.profile
plugins.tools_reachable_permissive_policy警告Plugin 工具可在寬鬆情境中觸及tools.profile + 工具允許/拒絕
models.legacy警告舊版模型系列仍在設定中模型選擇
models.weak_tier警告已設定的模型低於目前建議等級模型選擇
models.small_params嚴重/資訊小型模型 + 不安全的工具介面會提高注入風險模型選擇 + 沙箱/工具政策
summary.attack_surface資訊驗證、頻道、工具與暴露狀態的彙總摘要多個鍵(請參閱發現項目詳細資料)

相關