360 Secure SkillHub
360 安全技能中心

Tophant Clawvault

该 Skill 通过 /clawvault 子命令在本地安装、启动、查询和卸载 ClawVault 安全服务,支持用自然语言或场景生成提示注入、敏感数据、危险命令类检测规则,并执行检测测试与健康检查。声明依赖 Python 3.10+ 与端口 8765、8766,需要命令执行、文件读写和网络权限;本地代理会检查流经的 AI 请求。

martin2877
martin2877
热度 33.69
最近更新 2026-04-28 11:06:49
分类:安全依赖:代码执行 / 读写文件 / 第三方 API应用场景:工作流 / 自动化脚本 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add tophant-clawvault
Metadata
name
tophant-clawvault
version
0.1.4
description
AI security system for protecting agents from prompt injection, data leakage, and dangerous commands
homepage
https://github.com/tophant-ai/ClawVault
user-invocable
true
disable-model-invocation
false

ClawVault Skill

AI security system for OpenClaw with installation, rule generation, detection, and monitoring.

Protection Against:

  • Prompt injection attacks
  • Data leakage (PII, credentials, API keys)
  • Dangerous command execution
  • Jailbreak attempts

Commands

/clawvault start

Start ClawVault services.

clawvault start                  # Default: localhost only (secure)
clawvault start --mode strict    # Strict mode

/clawvault install

Install ClawVault using pinned package sources and secure localhost defaults.

/clawvault install --mode quick     # Recommended; installs clawvault>=0.1.0,<1.0.0
/clawvault install --mode standard  # Interactive
/clawvault install --mode advanced  # Full control

If PyPI installation is unavailable, the installer falls back to the pinned GitHub tag v0.1.0. Configuration failures are reported as installation failures so agents can recover safely.

/clawvault health

Check service health and status.

/clawvault health

/clawvault generate-rule

Generate security rules from natural language.

/clawvault generate-rule "Block all AWS credentials"
/clawvault generate-rule --scenario customer_service --apply

Scenarios: customer_service, development, production, finance

/clawvault status

Get running status and statistics.

/clawvault status

/clawvault test

Run detection tests.

/clawvault test --category all
/clawvault test --category sensitive

Categories: all, sensitive, injection, commands

/clawvault uninstall

Remove ClawVault.

/clawvault uninstall
/clawvault uninstall --keep-config  # Keep configuration

Quick Examples

# Install
/clawvault install --mode quick

# Generate rule
/clawvault generate-rule "Detect database passwords" --apply

# Apply scenario
/clawvault generate-rule --scenario customer_service --apply

# Check health
/clawvault health

Requirements

  • Python 3.10+
  • Ports 8765, 8766 available

Permissions

  • execute_command - Run installation and ClawVault commands
  • write_files - Create configuration files
  • read_files - Read configurations
  • network - Download packages and API calls

Security Considerations

⚠️ Important: ClawVault operates as a local HTTP proxy that inspects AI traffic.

What This Means:

  • ClawVault can see API requests, responses, and API keys
  • This is intentional and necessary for threat detection
  • All data stays on your local machine

Dashboard Security:

  • Default: Binds to 127.0.0.1 (localhost only) ✅ Secure
  • For remote access: Use SSH tunneling instead of exposing dashboard
  • Example: ssh -L 8766:localhost:8766 user@server

Before Installing:

  • Review the SECURITY.md documentation
  • Understand that ClawVault will inspect all proxied traffic
  • Ensure dashboard binding is appropriate for your environment
  • Consider running in isolated environment for sensitive use cases

For Production:

  • Use localhost-only dashboard
  • Enable strict mode: --mode strict
  • Configure audit log retention
  • Review detection logs regularly

See SECURITY.md for complete security documentation.

Documentation

License

MIT © 2026 Tophant SPAI Lab