OpenClaw 安全嗎?OpenClaw 與 Hermes Agent 的安全性及該修改的設定
執行 OpenClaw 安全嗎?它的預設值允許什麼、Hermes Agent 和其他八個代理在沙箱與遙測上的比較,以及最先該鎖定的設定。
概覽
| 機器人 | 授權 | 聊天 App | |||||
|---|---|---|---|---|---|---|---|
| OpenClaw | MIT | 39.4萬 | 是 | 否 | Telegram, WhatsApp, iMessage, Discord, Slack | 免費 | |
| Hermes Agent | MIT | 26.2萬 | 是 | 否 | Telegram, WhatsApp, iMessage, Discord, Slack | US$20/月起 | |
| NemoClaw | Apache-2.0 | 2.3萬 | 是 | 是 | Telegram, Discord, Slack | 免費 | |
| NanoClaw | MIT | 3.1萬 | 是 | 是 | Telegram, WhatsApp, iMessage, Discord, Slack | 免費 | |
| ZeroClaw | MIT OR Apache-2.0 | 3.3萬 | 是 | 是 | Telegram, WhatsApp, Discord | 免費 | |
| Rakazo | Apache-2.0 | 7538 | 是 | 是 | Telegram, WhatsApp, iMessage, Slack | US$10/月起 | |
| Agent Zero | MIT | 2萬 | 是 | 是 | Telegram, WhatsApp | 免費 | |
| nanobot | MIT | 5萬 | 是 | 否 | Telegram, WhatsApp, Discord, Slack | 免費 | |
| PicoClaw | MIT | 3萬 | 是 | 否 | Telegram, WhatsApp, Discord, Slack | 免費 | |
| QwenPaw | Apache-2.0 | 3.7萬 | 是 | 否 | Telegram, iMessage, Discord, Slack | 免費 |
檢查清單
| OpenClaw | Hermes Agent | NemoClaw | NanoClaw | ZeroClaw | Rakazo | Agent Zero | nanobot | PicoClaw | QwenPaw | |
|---|---|---|---|---|---|---|---|---|---|---|
| 開源授權 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 支援本地模型 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 預設沙箱隔離 | 否 | 否 | 是 | 是 | 是 | 是 | 是 | 否 | 否 | 否 |
| 預設無遙測 | 否 | 是 | 否 | 否 | 是 | 是 | 否 | 是 | 是 | 否 |
| 整合你的聊天 App | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 你不在時也能工作 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
只要你把 OpenClaw 當成它本來的樣子看待,它就夠安全:一個能讀你的訊息和電子郵件、執行指令,並依據讀到的內容採取行動的程式。開箱時它偏向功能優先。因為沙箱預設關閉,指令會在你的主機上執行,而且它每天都會向專案伺服器回報。這兩點幾分鐘內就能修正。Hermes Agent 也是如此,只是預設值不同。

實際上可能出什麼問題
- 指令在你的主機上執行。 沒有沙箱時,一條錯誤的指令會以你使用者帳號的權限存取你的檔案。
- 提示詞注入。 代理讀到的任何東西,像是電子郵件、網頁、共享文件,都可能夾帶針對它的指令。它能操作的帳號越多,被注入的指令能造成的影響就越大。
- 第三方技能。 技能是你安裝的程式碼。2026 年 1 月,Cisco 的 AI 安全團隊回報了一個第三方 OpenClaw 技能,會在使用者不知情的情況下竊取資料並執行提示詞注入(Wikipedia 上的摘要)。
- 暴露的閘道。 如果控制介面可以在未經驗證的情況下從網際網路存取,任何人都能操控你的代理。
- 靜態儲存的密鑰。 同一篇 Wikipedia 文章摘要了 2026 年 8 月一份針對 OpenClaw 2.0 的審查,其中批評密鑰以未加密的方式儲存。
十個代理的預設值
上方的檢查清單表格顯示了哪些代理預設使用沙箱、哪些會傳送遙測。以下說明實際上代表什麼,以及如何修改。
| 代理 | 開箱時的隔離 | 遙測及關閉方式 |
|---|---|---|
| OpenClaw | 關閉;提供 Docker 沙箱 | 每日更新檢查;update.checkOnStart: false |
| Hermes Agent | 關閉;smart 核准,提供 Docker 後端 |
除非主動開啟,否則沒有 |
| NemoClaw | 開啟:OpenShell 沙箱,對外連線需核准 | CLI 遙測;NEMOCLAW_DISABLE_TELEMETRY=1 |
| NanoClaw | 開啟:每個代理一個容器 | 安裝診斷;NANOCLAW_NO_DIAGNOSTICS=1 |
| ZeroClaw | 開啟:Balanced 設定檔中的作業系統沙箱和核准 | 沒有 |
| Rakazo | 開啟:每個機器人有一台沙箱電腦 | 自架伺服器沒有;桌面 App 會檢查更新 |
| Agent Zero | 開啟:代理在自己的 Docker 容器中工作 | 更新檢查;可在設定中關閉 |
| nanobot | 關閉;提供 bubblewrap 或 Seatbelt,Windows 上沒有 | 沒有 |
| PicoClaw | 只有路徑檢查;程序隔離關閉,僅支援 Linux 和 Windows | 沒有 |
| QwenPaw | 關閉;Docker 內沒有隔離 | 使用 --defaults 時傳送安裝資料;在互動式 qwenpaw init 中可拒絕 |
關於「開啟」的那幾列,有兩點要注意。Agent Zero 執行程式碼的容器和 Agent Zero 本身是同一個,所以容器能保護你的電腦,但無法保護代理不受自己執行的程式碼影響。而 ZeroClaw 的 YOLO 設定檔會把一切都關掉,請確認你選的是哪個設定檔。
如何鎖定 OpenClaw
依影響程度大致排序,參考 OpenClaw 的安全文件:
- 執行
openclaw security audit。 它會回報你的設定在哪些地方偏離了安全預設值,並能套用支援的修正。 - 讓閘道維持在 loopback。 一般安裝會綁定到 loopback,但容器映像檔預設會對外綁定,所以用 Docker 部署前,請加上驗證或把它放在私人網路後面。
- 保持 DM 配對開啟。 預設情況下,大多數頻道上的陌生傳送者會收到配對碼,而不是回覆。不要把頻道切換成開放。
- 開啟沙箱。 把
agents.defaults.sandbox.mode設為all;non-main會讓代理的主要工作階段留在主機上(沙箱模式)。Docker 是預設後端。只有工具執行會被放進沙箱:閘道仍留在主機上。 - 拒絕你用不到的功能。 對
exec設定工具政策拒絕,就能完全停用 shell 存取。避免使用tools.elevated,它會在沙箱之外執行指令。 - 使用獨立帳號。 文件建議 WhatsApp、Signal 和 Telegram 使用不同的號碼,並且每個信任邊界一個閘道:不要讓彼此不信任的人共用同一個閘道。
- 安裝技能前先讀過程式碼, 並優先使用官方外掛。
- 設定
update.checkOnStart: false,如果你不想要每日回報(遙測文件)。
如果你希望這一切都從代理外部強制執行,可以在 NemoClaw 中執行 OpenClaw,它會加上沙箱、對外連線核准和憑證保管。
Hermes Agent 安全嗎?
Hermes Agent 在隱私(沒有遙測)和聊天存取上起點較好:沒有設定允許清單時,它會拒絕所有使用者,陌生的 DM 則會進入配對流程(安全文件)。它的弱點和 OpenClaw 一樣:終端機後端預設為 local。
鎖定它的方法:
- 設定
terminal.backend: docker。 容器會移除除少數之外的所有 Linux capabilities,主機上的密鑰也不會進入容器,除非你把它們列在docker_forward_env中,所以請讓它保持空白。 - 保持核准開啟。 預設的
smart模式讓輔助模型判斷風險;manual會在每條危險指令前詢問。絕對不要用off,它等同於--yolo。 - 設定允許清單,例如
TELEGRAM_ALLOWED_USERS,並且絕對不要設定GATEWAY_ALLOW_ALL_USERS=true。 - 執行
chmod 600 ~/.hermes/.env, 如果你不想讓 Hermes 使用你的 Codex CLI 或 Claude Code 登入,請設定auth.adopt_external_logins: false。
適用於任何代理的原則
- 給它專屬的機器或作業系統使用者。 一台備用電腦或小型伺服器能限制災情範圍,這是任何設定都做不到的。
- 限縮憑證範圍。 盡可能連接獨立的電子郵件或行事曆帳號,並使用有消費上限的 API 金鑰。
- 在每個頻道設定允許清單,限制誰能和它對話。
- 檢查排程工作。 一個在你不在時工作的代理,也會在你不在時犯錯。
如果安全是你的首要考量
選一個預設就隔離的代理,而不是需要你自己強化的代理:單一個人代理可以選 ZeroClaw 或 NanoClaw;如果你特別想用 OpenClaw 或 Hermes Agent,就選 NemoClaw。我們的自架排名非常重視安全的預設值,而 OpenClaw 是什麼則涵蓋了其餘的取捨。
功能
| OpenClaw | Hermes Agent | NemoClaw | NanoClaw | ZeroClaw | Rakazo | Agent Zero | nanobot | PicoClaw | QwenPaw | |
|---|---|---|---|---|---|---|---|---|---|---|
| 網路搜尋 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 圖像生成 | 是 | 是 | 未知 | 未知 | 是 | 是 | 否 | 是 | 否 | 是 |
| 語音模式 | 是 | 是 | 未知 | 未知 | 是 | 是 | 是 | 是 | 是 | 是 |
| 檔案上傳 | 是 | 是 | 未知 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 記憶 | 是 | 是 | 未知 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 代你執行操作 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 應用程式整合 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 自主運作 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 主動傳訊息給你 | 是 | 是 | 未知 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 可執行多個機器人 | 是 | 是 | 未知 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
來源
OpenClaw
- OpenClaw homepage and Foundation section
- OpenClaw integrations: channels, providers and plugins
- openclaw/openclaw on GitHub (MIT, v2026.11.1)
- OpenClaw docs: Sandboxing (off by default)
- Wikipedia: OpenClaw
- Notebookcheck: OpenClaw can burn through hundreds of dollars per day
- OpenClaw docs: Memory overview
- OpenClaw docs: Automations
- OpenClaw docs: Chat channels
- OpenClaw docs: iMessage
- OpenClaw docs: Heartbeat, now a default Proactive check job
- OpenClaw docs: Multi-agent routing
- OpenClaw docs: Platforms (macOS, Windows, Linux, iOS and Android apps)
- OpenClaw docs: Tools (exec, browser, web search)
- OpenClaw docs: Audio and voice notes (inbound transcription)
- OpenClaw docs: Image and media support (inbound media)
- OpenClaw docs: Install (system requirements, installer script, npm, desktop apps, Docker)
- OpenClaw docs: One-click deploy on Railway
- OpenClaw docs: Usage telemetry and update checks (on by default, feature statistics opt-in)
- OpenClaw docs: Ollama provider (local models)
Hermes Agent
- NousResearch/hermes-agent on GitHub (MIT, v0.23.0)
- Hermes Agent homepage and Nous Portal pricing
- Hermes Agent documentation
- Hermes Agent docs: Profiles, running multiple agents
- Hermes Agent docs: Bot Mode
- Hermes Agent docs: Voice mode
- Hermes Agent docs: Vision and image paste
- Hermes Agent docs: iMessage via BlueBubbles
- Nous Research on X: Meet Hermes Agent (February 25, 2026)
- Hermes Agent docs: Session heartbeats and cron watchdogs
- Hermes Agent docs: FAQ (Is my data sent anywhere?)
- Hermes Agent docs: Installation (desktop packages, install script, Docker)
- Hermes Agent docs: Platform support (no Linux desktop package; PyPI installs unsupported)
- Hermes Agent docs: Docker setup
- Hermes Agent docs: Configuration (terminal backend defaults to local)
- Hermes Agent docs: Security (approval modes, optional container isolation)
- Hermes Agent docs: Local models
- Hermes Agent example config (shared metrics off by default)
NemoClaw
- NVIDIA/NemoClaw on GitHub (Apache-2.0, README: supported agents, alpha status)
- NemoClaw docs: Overview
- NemoClaw docs: Prerequisites and platforms
- NemoClaw docs: Choose an inference provider (Ollama, vLLM, NIM)
- NemoClaw docs index: messaging channels (WhatsApp, Teams, Google Chat, WeChat experimental)
- NemoClaw source: telemetry delivery and NEMOCLAW_DISABLE_TELEMETRY
NanoClaw
ZeroClaw
- zeroclaw-labs/zeroclaw on GitHub (MIT OR Apache-2.0, v0.8.7, README)
- ZeroClaw website
- ZeroClaw docs: Sandboxing
- ZeroClaw source: risk presets (Balanced, recommended, has the sandbox on)
- ZeroClaw docs: Channels overview (default and standard release bundles)
- ZeroClaw docs: You own it (no telemetry)
- ZeroClaw docs: Docker and containers
- ZeroClaw source: tools (image generation, screenshot, web)
Rakazo
- Rakazo homepage
- Rakazo pricing
- Rakazo privacy policy
- Rakazo on GitHub (README and license)
- Rakazo changelog
- Rakazo releases
- Rakazo docs: Image and video generation
- Rakazo docs: Memory
- Rakazo docs: Connect apps
- Rakazo docs: Routines
- Rakazo docs: Chat apps
- Rakazo docs: Messaging apps (self-hosting)
- Rakazo docs: Bots and chats (add another bot, bot templates)
- Rakazo docs: Groups (several bots in one chat)
- Rakazo docs: Mobile app (notifications)
- Rakazo privacy policy (updated Sep 14, 2026)
- Rakazo privacy policy source on GitHub
- Rakazo docs: Logs and monitoring (product analytics off by default)
- Rakazo docs: Desktop app (run locally in Docker, updates)
- Rakazo docs: Docker computers
- Rakazo docs: Self-hosted models (Ollama, LM Studio)
- Rakazo Railway template setup guide
Agent Zero
- agent0ai/agent-zero on GitHub (MIT, README, safety model)
- Agent Zero releases (v0.2 in June 2024 to v2.15 on November 1, 2026)
- Agent Zero homepage
- Agent Zero docs: Installation (Launcher, A0 Install, Docker, local models)
- Agent Zero docs: VPS deployment (hardware requirements)
- Agent Zero model provider list
- Agent Zero update check code (version and hashed ID sent to api.agent-zero.ai)
- Agent Zero built-in Telegram integration plugin
- Agent Zero built-in WhatsApp integration plugin
- Agent Zero built-in plugins (scheduler, notify user, email, SearXNG search, Whisper STT, Kokoro TTS)
- Agent Zero docs: Memory guide
- Agent Zero docs: Agent Profiles
- Agent Zero docs: API integration (adding image generation yourself)
- Agent Zero v3: A Sneak Peek Inside the Sandbox (August 17, 2026)
- Agent Zero LLM API (Venice.ai proxy for A0T token stakers)
nanobot
- HKUDS/nanobot on GitHub (MIT, v0.4.1, README)
- nanobot documentation
- nanobot release archive (officially launched February 2, 2026)
- nanobot docs: Chat apps
- nanobot docs: Providers and models (Ollama, vLLM, LM Studio)
- nanobot docs: Configuration (security, exec sandbox off by default, transcription, Langfuse)
- nanobot docs: Automations and heartbeat
- nanobot docs: Concepts (heartbeat delivery, subagent recovery)
- nanobot docs: Memory and Dream
- nanobot docs: Multiple instances
- nanobot docs: Deployment (Docker, services, Render)
- nanobot source: skills installer runs with DISABLE_TELEMETRY
PicoClaw
- sipeed/picoclaw on GitHub (MIT, README with security notice and channel list)
- PicoClaw releases (v0.0.1 on February 9, 2026; v0.3.1 on July 3, 2026)
- PicoClaw official website and downloads
- PicoClaw docs: Configuration (workspace restriction, heartbeat, voice, multi-agent routing)
- PicoClaw source: subprocess isolation, disabled by default
- PicoClaw docs: Tools configuration (web search, exec, cron, MCP, skills)
- PicoClaw docs: Chat apps (WhatsApp native build or bridge)
- PicoClaw docs: Hardware compatibility and minimum requirements
- PicoClaw docs: Docker
QwenPaw
- agentscope-ai/QwenPaw on GitHub (Apache-2.0, README with install options and telemetry)
- QwenPaw documentation
- QwenPaw v1.1.0 release notes: CoPaw rebrands to QwenPaw
- copaw on PyPI (first release February 2026)
- QwenPaw docs: Channels
- QwenPaw docs: Models (cloud providers, llama.cpp, Ollama, LM Studio)
- QwenPaw docs: Security (Tool Guard, File Guard, sandbox)
- QwenPaw source: security.sandbox_enabled defaults to off
- QwenPaw docs: Heartbeat
- QwenPaw docs: Multi-agent
- QwenPaw docs: Comparison (voice and video interaction)
- QwenPaw docs: Desktop application (beta)
- QwenPaw docs: Plugins (GPT Image 2 image generation plugin)
- QwenPaw Qwen-Image tool plugin (image generation and editing)









