RepositoryJavaScript
prompt-security

prompt-security/clawsec

A complete security skill suite for OpenClaw, Hermes, PicoClaw and NanoClaw agents (and variants). Protect your SOUL.md (etc') with drift detection, live security recommendations, automated audits, and skill integrity verification. All from one installable suite.

1.1kstars
112forks
2issues
7views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: clawdbot-skill

#1 Repository of the week

1
TINIX TRENDING·Topic: moltbot-skills

#1 Repository of the week

1
TINIX TRENDING·Topic: moltbot-skill

#1 Repository of the week

prompt-icon ClawSec: Security Skill Suite for AI Agents prompt-icon

Secure Your OpenClaw, NanoClaw, and Hermes Agents with a Complete Security Skill Suite

Brought to you by Prompt Security, the Platform for AI Security

Prompt Security Logo clawsec mascot


🌍 Translations

Deutsch | Español | Français | 日本語 | 한국어 | English

Wiki indexes: DE · ES · FR · JA · KO · EN

🦞 What is ClawSec?

ClawSec is a complete security skill suite for AI agent platforms. It provides unified security monitoring, integrity verification, and threat intelligence-protecting your agent's cognitive architecture against prompt injection, drift, and malicious instructions.

Supported Platforms

  • OpenClaw (MoltBot, Clawdbot, and clones) - Full suite with skill installer, file integrity protection, and security audits
  • NanoClaw - Containerized WhatsApp bot security with MCP tools for advisory monitoring, signature verification, and file integrity
  • Hermes - Hermes-native security skills for signed advisory feed verification, advisory-aware guarded verification, deterministic attestation generation, fail-closed verification, and baseline drift detection
  • Picoclaw - Lightweight AI gateway security posture checks with advisory awareness, config drift detection, release-artifact verification, and an optional separate self-pen-testing package

Skill Feature Matrix

Skill namesupported platformsecurity feed verificationconfig driftagent self pen testingsupply-chain install verificationruntime traffic monitoring
claw-releaseOpenClawNoNoNoYesNo
clawsec-clawhub-checkerOpenClaw + clawsec-suite integrationNoNoNoYesNo
clawsec-feedOpenClawYesNoNoYesNo
clawsec-nanoclawNanoClawYesYesYesYesNo
clawsec-scannerOpenClawYesNoYesYesNo
clawsec-suiteOpenClawYesYesNoYesNo
clawtributorAll core platformsNoNoNoNoNo
hermes-attestation-guardianHermesYes (signed advisory feed verification)YesNoLimited (advisory preflight gating only; no artifact signature/provenance install verification)No
hermes-traffic-guardianHermesNoPlanned posture export onlyNoNoSpec baseline
nanoclaw-traffic-guardianNanoClawNoNoNoNoSpec baseline
openclaw-audit-watchdogOpenClawNoNoYesNoNo
openclaw-traffic-guardianOpenClawNoNoNoNoSpec baseline
picoclaw-security-guardianPicoclawYesYesNoYesNo
picoclaw-self-pen-testingPicoclawNoNoYesNoNo
picoclaw-traffic-guardianPicoclawNoPlanned profile export onlyNoNoSpec baseline
soul-guardianOpenClawNoYesNoNoNo

Spec baseline means the skill folder, metadata, frontmatter, and implementation contract exist, but runtime proxy code is intentionally left for platform-specific builders.

Core Capabilities

  • 📦 Suite Installer - One-command installation of all security skills with integrity verification
  • 🛡️ File Integrity Protection - Drift detection and auto-restore for critical agent files (SOUL.md, IDENTITY.md, etc.)
  • 📡 Live Security Advisories - Automated NVD CVE polling and community threat intelligence
  • 🔍 Security Audits - Self-check scripts to detect prompt injection markers and vulnerabilities
  • 🔐 Checksum Verification - SHA256 checksums for all skill artifacts
  • Runtime Traffic Monitoring Baselines - Platform-specific specs for opt-in proxy inspection, exfiltration detection, and inbound injection detection
  • Health Checks - Automated updates and integrity verification for all installed skills

🎬 Product Demos

Animated previews below are GIFs (no audio). Click any preview to open the full MP4 with audio.

Install Demo (clawsec-suite)

Install demo animated preview

Direct link: install-demo.mp4

Drift Detection Demo (soul-guardian)

Drift detection animated preview

Direct link: soul-guardian-demo.mp4


🚀 Quick Start

For AI Agents

# Install the ClawSec security suite
npx clawhub@latest install clawsec-suite

After install, the suite can:

  1. Discover installable protections from the published skills catalog
  2. Verify release integrity using signed checksums
  3. Set up advisory monitoring and hook-based protection flows
  4. Add optional scheduled checks

Manual/source-first option:

Read https://github.com/prompt-security/clawsec/releases/latest/download/SKILL.md and follow the installation instructions.

For Humans

Copy this instruction to your AI agent:

Install ClawSec with npx clawhub@latest install clawsec-suite, then complete the setup steps from the generated instructions.

Shell and OS Notes

ClawSec scripts are split between:

  • Cross-platform Node/Python tooling (npm run build, hook/setup .mjs, utils/*.py)
  • POSIX shell workflows (*.sh, most manual install snippets)

For Linux/macOS (bash/zsh):

  • Use unquoted or double-quoted home vars: export INSTALL_ROOT="$HOME/.openclaw/skills"
  • Do not single-quote expandable vars (for example, avoid '$HOME/.openclaw/skills')

For Windows (PowerShell):

  • Prefer explicit path building:
    • $env:INSTALL_ROOT = Join-Path $HOME ".openclaw\\skills"
    • node "$env:INSTALL_ROOT\\clawsec-suite\\scripts\\setup_advisory_hook.mjs"
  • POSIX .sh scripts require WSL or Git Bash.

Troubleshooting: if you see directories such as ~/.openclaw/workspace/$HOME/..., a home variable was passed literally. Re-run using an absolute path or an unquoted home expression.


🧭 Platform & Suite Documentation

Detailed platform and suite docs live in the wiki modules:

Quick install links:

  • NanoClaw install: skills/clawsec-nanoclaw/INSTALL.md
  • Hermes skill package: skills/hermes-attestation-guardian/
  • Picoclaw guardian package: skills/picoclaw-security-guardian/
  • Picoclaw self-pen-testing package: skills/picoclaw-self-pen-testing/
  • Suite package: skills/clawsec-suite/

📡 Security Advisory Feed

ClawSec maintains a continuously updated security advisory feed, automatically populated from NIST's National Vulnerability Database (NVD).

Feed URL

# Fetch latest advisories
curl -s https://clawsec.prompt.security/advisories/feed.json | jq '.advisories[] | select(.severity == "critical" or .severity == "high")'

Canonical endpoint: https://clawsec.prompt.security/advisories/feed.json
Compatibility mirror (legacy): https://clawsec.prompt.security/releases/latest/download/feed.json

Monitored Keywords

The feed polls CVEs related to:

  • OpenClaw Platform: OpenClaw, clawdbot, Moltbot
  • NanoClaw Platform: NanoClaw, WhatsApp-bot, baileys
  • Picoclaw Platform: Picoclaw, picoclaw, lightweight AI gateways, MCP gateway exposure
  • Prompt injection patterns
  • Agent security vulnerabilities

Exploitability Context

ClawSec enriches CVE advisories with exploitability context to help agents assess real-world risk beyond raw CVSS scores. Newly analyzed advisories can include:

  • Exploit Evidence: Whether public exploits exist in the wild
  • Weaponization Status: If exploits are integrated into common attack frameworks
  • Attack Requirements: Prerequisites needed for successful exploitation (network access, authentication, user interaction)
  • Risk Assessment: Contextualized risk level combining technical severity with exploitability

This feature helps agents prioritize vulnerabilities that pose immediate threats versus theoretical risks, enabling smarter security decisions.

Advisory Schema

NVD CVE Advisory:

{
  "id": "CVE-2026-XXXXX",
  "severity": "critical|high|medium|low",
  "type": "vulnerable_skill",
  "platforms": ["openclaw", "nanoclaw"],
  "title": "Short description",
  "description": "Full CVE description from NVD",
  "published": "2026-02-01T00:00:00Z",
  "cvss_score": 8.8,
  "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-XXXXX",
  "exploitability_score": "high|medium|low|unknown",
  "exploitability_rationale": "Why this CVE is or is not likely exploitable in agent deployments",
  "references": ["..."],
  "action": "Recommended remediation"
}

Community Advisory:

{
  "id": "CLAW-2026-0042",
  "severity": "high",
  "type": "prompt_injection|vulnerable_skill|tampering_attempt",
  "platforms": ["nanoclaw"],
  "title": "Short description",
  "description": "Detailed description from issue",
  "published": "2026-02-01T00:00:00Z",
  "affected": ["skill-name@1.0.0"],
  "source": "Community Report",
  "github_issue_url": "https://github.com/.../issues/42",
  "action": "Recommended remediation"
}

Platform values:

  • "openclaw" - OpenClaw/Clawdbot/MoltBot only
  • "nanoclaw" - NanoClaw only
  • "hermes" - Hermes only
  • "picoclaw" - Picoclaw only
  • ["openclaw", "nanoclaw", "hermes", "picoclaw"] - All core platforms
  • (empty/missing) - All platforms (backward compatible)

🔄 CI/CD Pipelines

CI/CD pipeline details were moved to the wiki module page:

Related operations docs:


🛠️ Offline Tools

ClawSec includes Python utilities for local skill development and validation.

Skill Validator

Validates a skill folder against the required schema:

python utils/validate_skill.py skills/clawsec-feed

Checks:

  • skill.json exists and is valid JSON
  • Required fields present (name, version, description, author, license)
  • SBOM files exist and are readable
  • OpenClaw metadata is properly structured

Skill Checksums Generator

Generates checksums.json with SHA256 hashes for a skill:

python utils/package_skill.py skills/clawsec-feed ./dist

Outputs:

  • checksums.json - SHA256 hashes for verification

🛠️ Local Development

Prerequisites

  • Node.js 20+
  • Python 3.10+ (for offline tools)
  • npm

Setup

# Install dependencies
npm install

# Start development server
npm run dev

Populate Local Data

# Populate skills catalog from local skills/ directory
./scripts/populate-local-skills.sh

# Populate advisory feed with real NVD CVE data
./scripts/populate-local-feed.sh --days 120

# Generate wiki llms exports from wiki/ (for local preview)
./scripts/populate-local-wiki.sh

# Direct generator entrypoint (used by predev/prebuild)
npm run gen:wiki-llms

Notes:

  • npm run dev and npm run build automatically regenerate wiki llms.txt exports (predev/prebuild hooks).
  • public/wiki/ is generated output (local + CI) and is intentionally gitignored.

Build

npm run build

📁 Project Structure

├── advisories/
│   ├── feed.json                    # Main advisory feed
│   ├── feed.json.sig                # Detached signature for feed.json
│   └── feed-signing-public.pem      # Public key for feed verification
├── components/                      # React components
├── pages/                           # Route/page components
├── wiki/                            # Source-of-truth docs (synced to GitHub Wiki)
├── scripts/
│   ├── generate-wiki-llms.mjs       # wiki/*.md -> public/wiki/**/llms.txt
│   ├── populate-local-feed.sh       # Local CVE feed populator
│   ├── populate-local-skills.sh     # Local skills catalog populator
│   ├── populate-local-wiki.sh       # Local wiki llms export populator
│   ├── prepare-to-push.sh           # Local CI-style quality gate
│   ├── validate-release-links.sh    # Release link checks
│   └── release-skill.sh             # Manual skill release helper
├── skills/
│   ├── claw-release/                # 🚀 Release automation workflow skill
│   ├── clawsec-suite/               # 📦 Suite installer (skill-of-skills)
│   ├── clawsec-feed/                # 📡 Advisory feed skill
│   ├── clawsec-scanner/             # 🔍 Vulnerability scanner (deps + SAST + OpenClaw DAST)
│   ├── clawsec-nanoclaw/            # 📱 NanoClaw platform security suite
│   ├── clawsec-clawhub-checker/     # 🧪 ClawHub reputation checks
│   ├── clawtributor/                # 🤝 Community reporting skill
│   ├── hermes-attestation-guardian/ # 🛡️ Hermes attestation + drift verification
│   ├── openclaw-audit-watchdog/     # 🔭 Automated audit skill
│   ├── picoclaw-security-guardian/  # 🦐 Picoclaw posture/advisory/drift/supply-chain checks
│   ├── picoclaw-self-pen-testing/   # 🧪 Picoclaw self-pen-testing checks (separate package)
│   └── soul-guardian/               # 👻 File integrity skill
├── utils/
│   ├── package_skill.py             # Skill packager utility
│   └── validate_skill.py            # Skill validator utility
├── .github/workflows/
│   ├── ci.yml                       # Cross-platform lint/type/build + tests
│   ├── pages-verify.yml             # PR-only pages build/signing verification
│   ├── poll-nvd-cves.yml            # CVE polling pipeline
│   ├── community-advisory.yml       # Approved issue -> advisory PR
│   ├── skill-release.yml            # Skill release/signing pipeline
│   ├── deploy-pages.yml             # GitHub Pages deployment
│   ├── wiki-sync.yml                # Sync repo wiki/ to GitHub Wiki
│   ├── codeql.yml                   # CodeQL security analysis
│   └── scorecard.yml                # OpenSSF Scorecard checks
└── public/                          # Static assets + generated wiki exports

🤝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Submitting Security Advisories

Found a prompt injection vector, malicious skill, or security vulnerability? Report it via GitHub Issues:

  1. Open a new issue using the Security Incident Report template
  2. Fill out the required fields (severity, type, description, affected skills)
  3. A maintainer will review and add the advisory-approved label
  4. The advisory is automatically published to the feed as CLAW-{YEAR}-{ISSUE#}

See CONTRIBUTING.md for detailed guidelines.

Adding New Skills

  1. Create a skill folder under skills/
  2. Add skill.json with required metadata and SBOM
  3. Add SKILL.md with agent-readable instructions
  4. Validate with python utils/validate_skill.py skills/your-skill
  5. Submit a PR for review

📚 Documentation Source of Truth

For all wiki content, edit files under wiki/ in this repository. The GitHub Wiki (<repo>.wiki.git) is synced from wiki/ by .github/workflows/wiki-sync.yml when wiki/** changes on main.

LLM exports are generated from wiki/ into public/wiki/:

  • /wiki/llms.txt is the LLM-ready export for wiki/INDEX.md (or a generated fallback index if INDEX.md is missing).
  • /wiki/<page>/llms.txt is the LLM-ready export for that single wiki page.

📄 License

  • Source code: GNU AGPL v3.0 or later - See LICENSE for details.
  • Fonts in font/: Licensed separately - See font/README.md.

ClawSec · Prompt Security, SentinelOne

🦞 Hardening agentic workflows, one skill at a time.

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
composio-community/secure-openclaw

A personal 24x7 AI assistant like OpenClaw that runs on your messaging platforms. Send a message on WhatsApp, Telegram, Signal, or iMessage and get responses from Claude with full tool access, persistent memory, scheduled reminders, and integrations with 500+ apps.

1.2k
Jul 25, 2026
Repository
VoltAgent/awesome-openclaw-skills

The awesome collection of OpenClaw skills. 5,400+ skills filtered and categorized from the official OpenClaw Skills Registry.🦞

54.1k
Nov 29, 2026
RepositoryPython
win4r/ClawTeam-OpenClaw

ClawTeam fork fully adapted for OpenClaw — multi-agent swarm coordination with OpenClaw as the default agent

1.5k
Dec 1, 2026
RepositoryTypeScript
JIGGAI/ClawRecipes

Save 120+ Hours of Setup Pain (I did it for you) – Launch Your OpenClaw Agent Teams with 1 Command (15+ Recipes)

103
Nov 22, 2026
RepositoryPython
slhleosun/EvoClaw

Structured SOUL evolution framework for AI agents — experience, reflection, governed identity updates, and visual timelines.

84
Mar 2, 2026
RepositoryHTML
neonone123/moltdirectory

Molt Directory: Supercharge your MoltBot agent. An open-source marketplace for MoltBot skills. Browse curated capabilities, persona packs, and logic modules to expand what your AI can do.

55
Feb 16, 2026
RepositoryShell
adridder/moltron

Self-evolving Agents. MOLTRON upgrades agents to learn and evolve skills autonomously. Welcome to the Singularity.

52
Mar 4, 2026
RepositoryJavaScript
QuantumClaw/QClaw

Open-source AI agent runtime with a knowledge graph for a brain. Runs anywhere.

55
Jun 27, 2026
RepositoryTypeScript
ValueCell-ai/ClawX

ClawX is a desktop app that provides a graphical interface for OpenClaw AI agents. It turns CLI-based AI orchestration into a desktop experience without using the terminal. China website is https://clawx.com.cn.

7.6k
Nov 29, 2026