OpenClaw 安全吗?OpenClaw 与 Hermes Agent 的安全性及应修改的设置
运行 OpenClaw 安全吗?它的默认设置允许什么,Hermes Agent 和另外八个智能体在沙箱和遥测上表现如何,以及应优先锁定的设置。
概览
| 机器人 | 许可证 | 聊天应用 | |||||
|---|---|---|---|---|---|---|---|
| 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 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 开源许可证 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 支持本地模型 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 默认沙箱隔离 | 否 | 否 | 是 | 是 | 是 | 是 | 是 | 否 | 否 | 否 |
| 默认无遥测 | 否 | 是 | 否 | 否 | 是 | 是 | 否 | 是 | 是 | 否 |
| 接入你的聊天应用 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
| 你离开时也能工作 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 | 是 |
只要你认清 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 | 开启:每个机器人都有一台沙箱电脑 | 自托管服务器无遥测;桌面应用会检查更新 |
| 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 部署之前,请添加认证或将其置于私有网络之后。
- 保持私信配对开启。 默认情况下,在大多数渠道上,未知发送者收到的是配对码而不是回复。不要把渠道切换为开放。
- 开启沙箱。 将
agents.defaults.sandbox.mode设为all;non-main会让智能体的主会话留在宿主机上(沙箱模式)。Docker 是默认后端。只有工具执行会被沙箱隔离:网关仍留在宿主机上。 - 拒绝你用不到的东西。 对
exec设置工具策略拒绝可以完全禁用 shell 访问。避免使用tools.elevated,它会在沙箱之外运行命令。 - 使用单独的账户。 文档建议为 WhatsApp、Signal 和 Telegram 使用单独的号码,并且每个信任边界使用一个网关:不要让彼此不信任的人共用一个网关。
- 安装技能前先阅读其代码, 并优先使用官方插件。
- 设置
update.checkOnStart: false,如果你不想要每日报到(遥测文档)。
如果你希望这一切都由智能体外部来强制执行,可以在 NemoClaw 中运行 OpenClaw,它增加了沙箱、出站审批和凭据托管。
Hermes Agent 安全吗?
Hermes Agent 在隐私(无遥测)和聊天访问方面起点更好:在未设置允许列表时,它会拒绝所有用户,未知私信会进入配对流程(安全文档)。它的弱点与 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)









