Clawsec
A complete security skill suite for OpenClaw's 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.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
ClawSec is an AGPL collection of security skills and signed advisory intelligence for AI agent runtimes. It helps operators verify skill artifacts, detect configuration drift, audit agent environments, and approval-gate risky installs across OpenClaw, NanoClaw, Hermes, and Picoclaw.
Install the OpenClaw suite
The OpenClaw entry point is clawsec-suite. Adding the package and activating its persistent hook are separate, reviewable steps.
1. Add the suite
npx skills add prompt-security/clawsec --skill clawsec-suite -a openclaw --global -y
This installs the suite with its signed advisory trust set, heartbeat workflow, guarded installer, and setup scripts. Optional protections remain separate packages that the suite discovers from the published catalog.
2. Review and enable the advisory hook
SUITE_DIR="${INSTALL_ROOT:-$HOME/.openclaw/skills}/clawsec-suite"
node "$SUITE_DIR/scripts/setup_advisory_hook.mjs"
The setup script prints its preflight before it changes persistent OpenClaw configuration. After it succeeds, restart the OpenClaw gateway and run /new once to trigger the first advisory scan.
To see the current optional protections:
node "$SUITE_DIR/scripts/discover_skill_catalog.mjs"
Installing for someone else? Ask their agent to install
clawsec-suitewith the command above, show the hook preflight, and wait for approval before enabling the hook or optional cron job.
For bash and zsh, keep home variables expandable:
export INSTALL_ROOT="$HOME/.openclaw/skills"
Do not single-quote paths that contain $HOME. In PowerShell, build the path explicitly:
$env:INSTALL_ROOT = Join-Path $HOME ".openclaw\skills"
node "$env:INSTALL_ROOT\clawsec-suite\scripts\setup_advisory_hook.mjs"
POSIX .sh workflows require WSL or Git Bash on Windows.
See it work
Detect and respond to agent-file drift
The soul-guardian demo changes a protected agent file, detects the mismatch, and walks through the response.
How ClawSec protects an agent
| Protection layer | What it does |
|---|---|
| Signed intelligence | Verifies the advisory feed and checksum manifest before matching published risk against installed skills. |
| Guarded installs | Stops on advisory matches and requires a second, explicit confirmation before a risky install can continue. |
| Integrity and drift | Gives platform-specific skills baselines for critical files, configuration, attestations, and release artifacts. |
| Audits and reporting | Provides focused audit, posture, self-test, and community-reporting packages where the platform contract supports them. |
ClawSec recommends and gates actions; destructive removal and install overrides remain approval-controlled.
Platform entry points
- OpenClaw — start with
clawsec-suitefor signed advisory monitoring and guarded installs, then discover separate drift and audit protections. - NanoClaw — use
clawsec-nanoclawfor NanoClaw-specific advisory, integrity, verification, and security-tool workflows. - Hermes — use
hermes-attestation-guardianfor signed advisory checks, guarded verification, deterministic attestations, and baseline drift detection. - Picoclaw — use
picoclaw-security-guardianfor posture, advisory, drift, and release-artifact checks. Self-pen testing is a separate opt-in package.
The
*-traffic-guardiandirectories are specification baselines for platform builders. They are not shipped runtime proxies today.
Browse every package in the live skill catalog or the repository’s skills/ directory.
Skill feature matrix
The full package comparison is preserved in the wiki, including shipped, limited, and specification-only coverage.
Compare every skill in the feature matrix →
Query the signed advisory channel
The consolidated feed can contain relevant NVD CVEs, approved community reports, and provisional GitHub advisories that do not yet have CVE identifiers.
curl -fsSL https://clawsec.prompt.security/advisories/feed.json \
| jq '.advisories[] | select(.severity == "critical" or .severity == "high")'
Trust material lives beside the feed:
The legacy /releases/latest/download/feed.json endpoint remains a compatibility mirror. New consumers should use the canonical /advisories/feed.json endpoint.
Build, test, and contribute
Run the web catalog locally:
npm install
npm run dev
Run the repository’s local quality gate before pushing:
./scripts/prepare-to-push.sh
Validate a skill package directly:
python utils/validate_skill.py skills/clawsec-feed
Start with these references:
The source of truth for project documentation is wiki/. GitHub Wiki pages and LLM-ready exports are generated from those files.
Translations
English · Deutsch · Español · Français · 日本語 · 한국어
Localized wiki indexes: DE · ES · FR · JA · KO · EN
License
ClawSec source code is licensed under **GNU AG
