跳轉到主要內容

Documentation Index

Fetch the complete documentation index at: https://docs.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_writablecritical其他使用者/處理程序可以修改完整的 OpenClaw 狀態~/.openclaw 的檔案系統權限
fs.state_dir.perms_group_writablewarn群組使用者可以修改完整的 OpenClaw 狀態~/.openclaw 的檔案系統權限
fs.state_dir.perms_readablewarn狀態目錄可被其他人讀取~/.openclaw 的檔案系統權限
fs.state_dir.symlinkwarn狀態目錄目標會成為另一個信任邊界狀態目錄的檔案系統配置
fs.config.perms_writablecritical其他人可以變更驗證/工具政策/設定~/.openclaw/openclaw.json 的檔案系統權限
fs.config.symlinkwarn不支援寫入符號連結設定檔,且會新增另一個信任邊界改用一般設定檔,或將 OPENCLAW_CONFIG_PATH 指向實際檔案
fs.config.perms_group_readablewarn群組使用者可以讀取設定權杖/設定值設定檔的檔案系統權限
fs.config.perms_world_readablecritical設定可能暴露權杖/設定值設定檔的檔案系統權限
fs.config_include.perms_writablecritical設定 include 檔案可被其他人修改openclaw.json 參照的 include 檔案權限
fs.config_include.perms_group_readablewarn群組使用者可以讀取已 include 的祕密/設定值openclaw.json 參照的 include 檔案權限
fs.config_include.perms_world_readablecritical已 include 的祕密/設定值可被所有人讀取openclaw.json 參照的 include 檔案權限
fs.auth_profiles.perms_writablecritical其他人可以注入或替換已儲存的模型認證agents/<agentId>/agent/auth-profiles.json 權限
fs.auth_profiles.perms_readablewarn其他人可以讀取 API 金鑰和 OAuth 權杖agents/<agentId>/agent/auth-profiles.json 權限
fs.credentials_dir.perms_writablecritical其他人可以修改頻道配對/認證狀態~/.openclaw/credentials 的檔案系統權限
fs.credentials_dir.perms_readablewarn其他人可以讀取頻道認證狀態~/.openclaw/credentials 的檔案系統權限
fs.sessions_store.perms_readablewarn其他人可以讀取工作階段紀錄/中繼資料工作階段儲存區權限
fs.log_file.perms_readablewarn其他人可以讀取已遮罩但仍敏感的記錄Gateway 記錄檔權限
fs.synced_dirwarniCloud/Dropbox/Drive 中的狀態/設定會擴大權杖/紀錄暴露範圍將設定/狀態移出同步資料夾
gateway.bind_no_authcritical遠端繫結未使用共享祕密gateway.bind, gateway.auth.*
gateway.loopback_no_authcritical反向代理的 loopback 可能變成未驗證狀態gateway.auth.*、代理設定
gateway.trusted_proxies_missingwarn存在反向代理標頭,但未受信任gateway.trustedProxies
gateway.http.no_authwarn/criticalGateway HTTP API 可在 auth.mode="none" 時存取gateway.auth.mode, gateway.http.endpoints.*
gateway.http.session_key_override_enabledinfoHTTP API 呼叫端可以覆寫 sessionKeygateway.http.allowSessionKeyOverride
gateway.tools_invoke_http.dangerous_allowwarn/critical重新啟用透過 HTTP API 使用危險工具gateway.tools.allow
gateway.nodes.allow_commands_dangerouswarn/critical啟用高影響力的 node 指令(相機/螢幕/聯絡人/行事曆/SMS)gateway.nodes.allowCommands
gateway.nodes.deny_commands_ineffectivewarn類似模式的 deny 項目不會匹配 shell 文字或群組gateway.nodes.denyCommands
gateway.tailscale_funnelcritical暴露於公用網際網路gateway.tailscale.mode
gateway.tailscale_serveinfo已透過 Serve 啟用 tailnet 暴露gateway.tailscale.mode
gateway.control_ui.allowed_origins_requiredcritical非 loopback Control UI 未明確設定瀏覽器來源允許清單gateway.controlUi.allowedOrigins
gateway.control_ui.allowed_origins_wildcardwarn/criticalallowedOrigins=["*"] 會停用瀏覽器來源允許清單gateway.controlUi.allowedOrigins
gateway.control_ui.host_header_origin_fallbackwarn/critical啟用 Host 標頭來源 fallback(降低 DNS rebinding 強化程度)gateway.controlUi.dangerouslyAllowHostHeaderOriginFallback
gateway.control_ui.insecure_authwarn已啟用不安全驗證相容性切換gateway.controlUi.allowInsecureAuth
gateway.control_ui.device_auth_disabledcritical停用裝置身分檢查gateway.controlUi.dangerouslyDisableDeviceAuth
gateway.real_ip_fallback_enabledwarn/critical信任 X-Real-IP fallback 可能因代理設定錯誤而啟用來源 IP 偽造gateway.allowRealIpFallback, gateway.trustedProxies
gateway.token_too_shortwarn短共享權杖較容易被暴力破解gateway.auth.token
gateway.auth_no_rate_limitwarn暴露的驗證未限制速率會增加暴力破解風險gateway.auth.rateLimit
gateway.trusted_proxy_authcritical代理身分現在成為驗證邊界gateway.auth.mode="trusted-proxy"
gateway.trusted_proxy_no_proxiescritical未設定受信任代理 IP 的 trusted-proxy 驗證並不安全gateway.trustedProxies
gateway.trusted_proxy_no_user_headercriticaltrusted-proxy 驗證無法安全解析使用者身分gateway.auth.trustedProxy.userHeader
gateway.trusted_proxy_no_allowlistwarntrusted-proxy 驗證會接受任何已驗證的上游使用者gateway.auth.trustedProxy.allowUsers
gateway.trusted_proxy_allow_loopback警告受信任代理驗證接受明確允許的回送代理來源gateway.auth.trustedProxy.allowLoopback
gateway.probe_auth_secretref_unavailable警告深度探測無法在此命令路徑中解析驗證 SecretRefs深度探測驗證來源 / 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 入口權杖也會解鎖 Gateway 驗證hooks.token, gateway.auth.token
hooks.token_too_short警告Hook 入口更容易遭受暴力破解hooks.token
hooks.default_session_key_unset警告Hook agent 執行會分散到產生的每個請求工作階段hooks.defaultSessionKey
hooks.allowed_agent_ids_unrestricted警告/重大已驗證的 Hook 呼叫者可路由到任何已設定的 agenthooks.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.*
browser.control_no_auth重大瀏覽器控制在沒有權杖/密碼驗證的情況下暴露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 瀏覽器橋接在沒有來源範圍限制的情況下暴露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 關閉時,每個 agent 的 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.auto_allow_skills_enabled警告Exec 核准隱含信任 skill bins~/.openclaw/exec-approvals.json
tools.exec.allowlist_interpreter_without_strict_inline_eval警告直譯器允許清單允許內嵌 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警告Plugins 在沒有明確 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嚴重開放群組 + 提權工具會建立高影響的提示注入路徑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警告代理覆寫會繞過全域 minimal profileagents.list[].tools.profile
plugins.tools_reachable_permissive_policy警告Plugin 工具可在寬鬆情境中觸及tools.profile + 工具允許/拒絕
models.legacy警告仍在設定舊版模型系列模型選擇
models.weak_tier警告設定的模型低於目前建議層級模型選擇
models.small_params嚴重/資訊小型模型 + 不安全的工具介面會提高注入風險模型選擇 + 沙箱/工具政策
summary.attack_surface資訊驗證、頻道、工具與暴露態勢的彙總摘要多個鍵(請參閱發現項詳細資訊)

相關