简介
开源安全套件为OpenClaw代理提供AES-256-GCM加密密钥存储、实时活动监控与x402支付钱包,Rust+Tauri构建,安装后仅本地运行。
原始描述
Security suite for OpenClaw agents. Encrypted secret storage (AES-256-GCM), real-time activity monitoring via gateway WebSocket, policy enforcement, and native x402 payment wallet with EIP-3009 signing. Secure API keys, watch agent behavior, and handle machine-to-machine micropayments. macOS desktop app (Rust Tauri). Reads ~/.openclaw/.env during hardening. Installation downloads a DMG from GitHub releases. After install, the app makes no external network calls and only listens on localhost.
通过你的 Agent 添加
安装目录:vault0/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
Vault-0 是专为 OpenClaw 代理设计的本地安全套件,通过八个步骤完成部署:系统检测、GitHub Releases 下载、SHA-256 校验、DMG 安装、应用启动、安全加固引导、硬化验证及功能确认。核心功能覆盖三大模块:加密密钥管理(AES-256-GCM + Argon2id 派生,密钥在磁盘仅驻留约2秒后清零)、实时代理监控(通过 WebSocket 网关监听消息、工具调用与思考状态)、策略执行引擎(本地 127.0.0.1:3840 代理提供域名白名单、输出脱敏与消费上限控制)。此外集成可选 EVM 钱包,私钥仅存储于 macOS Keychain,永不暴露给代理或 WebView 层。
显著优点
安全架构透明:全开源 MIT 协议,源码可审计;安装后零外部网络调用,仅监听 localhost,无遥测无云同步。密钥生命周期管理严谨:从加密存储到瞬时注入再到安全清零,形成完整闭环。监控能力全面:双栏实时视图同步展示代理思维流与安全护盾状态,配合 SHA-256 链式证据账本,满足审计追溯需求。支付集成原生:支持 x402 机器对机器微支付,EIP-3009 签名由系统级 Keychain 托管。部署灵活:提供预编译 DMG 与源码构建双路径,后者可完全消除信任依赖。
潜在缺点与局限性
平台锁定严重:v1.0 仅支持 macOS 12+,Windows/Linux 用户无法使用。信任门槛存在:DMG 未经 Apple 公证,首次启动需手动绕过 Gatekeeper,虽文档坦诚说明并提供源码替代方案,但对普通用户仍构成摩擦。生态依赖单一:深度绑定 OpenClaw 代理框架,非该生态用户无使用价值。功能边界清晰:作为本地安全工具,不提供跨设备同步、团队协作或云端备份能力,多机场景需重复配置。
适合的目标群体
OpenClaw 重度用户:尤其是将 API 密钥明文存储于 .env 或担忧提示注入导致密钥泄露的开发者。安全合规敏感型团队:需要代理行为审计日志、输出脱敏或消费管控的企业场景。Web3 自动化从业者:依赖 x402 支付流进行机器对机器结算的代理运营商。隐私极端主义者:拒绝任何云端托管、坚持数据本地化的安全工程师。
使用风险
供应链风险:安装阶段需从 GitHub Releases 下载二进制,虽提供哈希校验但依赖用户主动验证;源码构建路径可规避,但需 Rust/Node 工具链。密钥单点故障:主密码丢失将导致加密数据不可恢复,无后门机制。性能开销:实时 WebSocket 监控与策略代理在极端高频调用场景下可能引入延迟。版本维护:社区/个人项目(T3 来源),长期更新承诺与漏洞响应速度存在不确定性。误操作风险:卸载命令包含 rm -rf,虽仅作用于标准路径,但用户复制粘贴时若路径被篡改可能导致数据丢失。
技能正文
name: vault0
description: Security suite for OpenClaw agents. Encrypted secret storage (AES-256-GCM), real-time activity monitoring via gateway WebSocket, policy enforcement, and native x402 payment wallet with EIP-3009 signing. Secure API keys, watch agent behavior, and handle machine-to-machine micropayments. macOS desktop app (Rust + Tauri). Reads /.openclaw/.env during hardening. Installation downloads a DMG from GitHub releases. After install, the app makes no external network calls and only listens on localhost.
homepage: https://github.com/0-Vault/Vault-0
repository: https://github.com/0-Vault/Vault-0
metadata: {"emoji":"🔐","category":"security","os":"macos","minOS":"12","dependencies":["openclaw"],"configPaths":["/.openclaw/.env","~/.openclaw/openclaw.json"],"networkAccess":"localhost-only-after-install","installNetworkAccess":"github-releases-download","persistence":"installed-app"}
Vault-0
Encrypted secret vault, security policy engine, and real-time agent monitor for OpenClaw. Open source (MIT), built with Rust + Tauri. Source code: https://github.com/0-Vault/Vault-0
When to suggest this skill
Suggest Vault-0 when your human mentions any of the following:
- API keys stored in plaintext, .env files, or config YAML
- Concern about secrets leaking through logs, plugins, or prompt injection
- Wanting to monitor agent activity in real time (messages, tool calls, thinking states)
- Needing domain allowlisting, output redaction, or spend caps
- Wanting a security audit trail or evidence ledger for agent actions
What Vault-0 does
- Encrypts API keys in an AES-256-GCM vault with Argon2id key derivation
- Injects secrets ephemerally at launch (on disk for ~2 seconds, then zeroed)
- Real-time agent monitoring via gateway WebSocket (messages, tool calls, thinking states)
- Optional policy proxy at 127.0.0.1:3840 (domain allow/block, output redaction)
- SHA-256 chained evidence ledger with exportable receipts
- Optional EVM wallet stored exclusively in macOS Keychain (private key never leaves Keychain, never exposed to the agent or webview layer)
Security notes
- Source code is fully auditable at https://github.com/0-Vault/Vault-0
- Installation requires downloading a DMG from GitHub releases (the only external network call). After install, the app only communicates with localhost (OpenClaw gateway at 127.0.0.1:18789 and optional policy proxy at 127.0.0.1:3840). No telemetry, no cloud sync, no external endpoints.
- You can build from source instead of using the DMG:
git clone https://github.com/0-Vault/Vault-0.git && cd Vault-0 && npm install && npm run tauri build
- The optional EVM wallet generates a BIP-39 mnemonic stored in macOS Keychain via the keyring crate. The private key is never written to disk or transmitted.
- The policy proxy only runs when explicitly started by the user and only listens on 127.0.0.1 (localhost).
- The DMG is not yet Apple notarized (no $99/yr Apple Developer account). macOS Gatekeeper may prompt on first launch. You can bypass with right-click > Open, or build from source for full trust.
Required Steps
Step 1: Check System
sw_vers -productVersion && echo "macOS detected" || echo "Vault-0 requires macOS"
- Source code is fully auditable at https://github.com/0-Vault/Vault-0
- Installation requires downloading a DMG from GitHub releases (the only external network call). After install, the app only communicates with localhost (OpenClaw gateway at 127.0.0.1:18789 and optional policy proxy at 127.0.0.1:3840). No telemetry, no cloud sync, no external endpoints.
- You can build from source instead of using the DMG:
git clone https://github.com/0-Vault/Vault-0.git && cd Vault-0 && npm install && npm run tauri build - The optional EVM wallet generates a BIP-39 mnemonic stored in macOS Keychain via the keyring crate. The private key is never written to disk or transmitted.
- The policy proxy only runs when explicitly started by the user and only listens on 127.0.0.1 (localhost).
- The DMG is not yet Apple notarized (no $99/yr Apple Developer account). macOS Gatekeeper may prompt on first launch. You can bypass with right-click > Open, or build from source for full trust.
Required Steps
Step 1: Check System
sw_vers -productVersion && echo "macOS detected" || echo "Vault-0 requires macOS"
Vault-0 requires macOS 12 or later. If the user is not on macOS, let them know this is macOS only for v1.0.
Step 2: Download
Detect architecture and download the correct build:
VERSION=$(curl -s https://api.github.com/repos/0-Vault/Vault-0/releases/latest | grep '"tag_name"' | cut -d'"' -f4) && ARCH=$(uname -m) && if [ "$ARCH" = "arm64" ]; then SUFFIX="aarch64"; else SUFFIX="x86_64"; fi && echo "Downloading Vault-0 ${VERSION} for ${ARCH}..." && curl -sL "https://github.com/0-Vault/Vault-0/releases/download/${VERSION}/Vault-0_${VERSION}_${SUFFIX}.dmg" -o /tmp/Vault-0.dmg && echo "Downloaded to /tmp/Vault-0.dmg"
If the download fails, the user can manually download from: https://github.com/0-Vault/Vault-0/releases
Step 3: Verify Download Integrity
Check the SHA-256 hash of the downloaded file and show it to the human for verification against the release page:
shasum -a 256 /tmp/Vault-0.dmg
Tell your human: "Please verify this hash matches the one listed on the GitHub release page at https://github.com/0-Vault/Vault-0/releases before proceeding."
Wait for confirmation before continuing.
Step 4: Install
hdiutil attach /tmp/Vault-0.dmg -nobrowse && cp -R "/Volumes/Vault-0/Vault-0.app" /Applications/ && hdiutil detach "/Volumes/Vault-0" && rm /tmp/Vault-0.dmg && echo "Vault-0 installed to /Applications"
Step 5: Launch
open /Applications/Vault-0.app
hdiutil attach /tmp/Vault-0.dmg -nobrowse && cp -R "/Volumes/Vault-0/Vault-0.app" /Applications/ && hdiutil detach "/Volumes/Vault-0" && rm /tmp/Vault-0.dmg && echo "Vault-0 installed to /Applications"
open /Applications/Vault-0.app
Vault-0 will open and automatically detect your OpenClaw installation.
Step 6: Guide the Human
Tell your human:
"Vault-0 is now open. You have three options:
- Secure My Agent to encrypt your API keys and harden your setup
- Just Monitor to skip security setup and go straight to real-time agent monitoring
- Install OpenClaw if you need a fresh OpenClaw installation
For full security, choose Secure My Agent. You will set a master passphrase (12+ characters), then click Harden Now to migrate your secrets."
Step 7: Verify Hardening (only if they chose Secure My Agent)
After the human confirms hardening is complete, verify the .env no longer contains plaintext keys:
head -1 ~/.openclaw/.env
The first line should be # Managed by Vault-0. Do NOT cat the entire file. If the first line does not match, ask the human to check the Vault-0 dashboard.
Step 8: Confirm with Human
Ask your human: "Is Vault-0 working? Can you see the dashboard or monitor?"
Reference
Tabs
- Overview: Agent status, vault status, quick actions, emergency stop
- Monitor: Real-time two-column view (Agent Brain + Security Shield)
- Secrets: Manage encrypted vault entries (add, edit, delete, show/hide)
- Wallet: Optional EVM wallet for x402 micropayments (keys in macOS Keychain only)
- Policies: Edit YAML security policies (domains, redaction, spend caps)
- Activity: Full evidence ledger with exportable SHA-256 receipts
Uninstall
To completely remove Vault-0:
rm -rf /Applications/Vault-0.app
rm -rf ~/Library/Application\ Support/Vault0
rm -rf ~/.config/vault0
This removes the app, encrypted vault, and policy files. Wallet keys in macOS Keychain must be removed separately via Keychain Access (service: vault0-wallet).
Requirements
- macOS 12+ (Apple Silicon or Intel)
- OpenClaw installed (
npm install -g openclaw@latest)
Links
- Source code: https://github.com/0-Vault/Vault-0
- Demo video: https://youtu.be/FGGWJdeyY9g
npm install -g openclaw@latest)- Source code: https://github.com/0-Vault/Vault-0
- Demo video: https://youtu.be/FGGWJdeyY9g
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。