clawdbot-security

Security hardening for Clawdbot Gateway. Use when running security audits, interpreting audit findings, configuring DM/group policies, setting up sandboxing, managing elevated tools, extracting secrets to .env, or responding to security incidents. Also triggers on questions about prompt injection defense, access control, network exposure, or the three-layer security model (sandbox, tool policy, elevated).

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "clawdbot-security" with this command: npx skills add spanishflu-est1918/clawdbot-security/spanishflu-est1918-clawdbot-security-clawdbot-security

Clawdbot Security

Harden Clawdbot Gateway deployments by fetching current security practices and applying them.

Fetch Current Docs First

Before advising on security, fetch the latest official documentation:

# Primary security guide
web_fetch https://raw.githubusercontent.com/clawdbot/clawdbot/main/docs/gateway/security.md

# Specific topics
web_fetch https://raw.githubusercontent.com/clawdbot/clawdbot/main/docs/gateway/sandboxing.md
web_fetch https://raw.githubusercontent.com/clawdbot/clawdbot/main/docs/gateway/authentication.md
web_fetch https://raw.githubusercontent.com/clawdbot/clawdbot/main/docs/gateway/pairing.md

Quick Commands

clawdbot security audit           # Basic check
clawdbot security audit --deep    # Live Gateway probe
clawdbot security audit --fix     # Auto-apply safe fixes
clawdbot sandbox explain          # Debug sandbox/tool policy

Decision Tree

User needs help with security
├── Running audit or interpreting findings?
│   └── Run `clawdbot security audit`, explain findings, suggest fixes
├── Configuring access control (DM/group policies)?
│   └── Fetch security.md, explain pairing vs allowlist vs open
├── Setting up sandboxing?
│   └── Fetch sandboxing.md, explain mode/scope/workspaceAccess
├── Managing secrets in config?
│   └── Run scripts/extract_secrets.py or guide manual .env creation
├── Responding to incident?
│   └── Follow contain → rotate → audit workflow
└── General security question?
    └── Fetch security.md, consult references/quick-reference.md

Three-Layer Model (Quick Summary)

  1. Sandbox — Where tools run (Docker vs host)
  2. Tool Policy — Which tools are allowed
  3. Elevated — Exec-only host escape hatch

For details, read references/quick-reference.md.

Extract Secrets Script

Automate moving hardcoded secrets from config to .env:

python scripts/extract_secrets.py --dry-run  # Preview
python scripts/extract_secrets.py            # Execute

Audit Priority Order

  1. Open groups + tools → Lock down with allowlists
  2. Network exposure → Fix immediately
  3. Browser control → Require token auth
  4. File permissionschmod 600 config, chmod 700 dirs
  5. Plugins → Only load trusted ones
  6. Model choice → Use instruction-hardened models (Opus 4.5)

Incident Response

  1. Contain: Stop gateway, bind: "loopback", freeze policies
  2. Rotate: gateway.auth.token, API keys, browser control token
  3. Audit: Check logs (/tmp/clawdbot/*.log) and transcripts
  4. Re-run: clawdbot security audit --deep

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

clawdbot-security

No summary provided by upstream source.

Repository SourceNeeds Review
Security

compliance-evidence-assembler

把审计所需证据整理成目录、清单和缺失项,便于后续评审。;use for compliance, evidence, audit workflows;do not use for 伪造证据, 替代正式审计结论.

Archived SourceRecently Updated
Security

skillguard-hardened

Security guard for OpenClaw skills, developed and maintained by rose北港(小红帽 / 猫猫帽帽). Audits installed or incoming skills with local rules plus Zenmux AI intent review, then recommends pass, warn, block, or quarantine.

Archived SourceRecently Updated
Security

api-contract-auditor

审查 API 文档、示例和字段定义是否一致,输出 breaking change 风险。;use for api, contract, audit workflows;do not use for 直接改线上接口, 替代契约测试平台.

Archived SourceRecently Updated