Mindket

ClawSec

Newversion 2 · updated
Star1134

Overview

Prompt Security’s open security skills for the OpenClaw, NanoClaw, Hermes and Picoclaw agent runtimes. They check a signed advisory feed against your installed skills, hold risky installs for a second yes, and watch core agent files for change.

ClawSec is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 2, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Runs in
  • OpenClaw: clawsec-suite, then optional add-ons such as soul-guardian, clawsec-scanner, openclaw-audit-watchdog and clawsec-feed
  • NanoClaw: clawsec-nanoclaw
  • Hermes: hermes-attestation-guardian
  • Picoclaw: picoclaw-security-guardian, with picoclaw-self-pen-testing as a separate opt-in package
Start with
npx skills add prompt-security/clawsec --skill clawsec-suite -a openclaw --global -y

Platform

Claude CodeCoding agent
CodexCoding agent
WindowsOperating system

About

What it is

ClawSec is Prompt Security’s open collection of security skills for AI agent runtimes. The README signs it Prompt Security, from SentinelOne. It names four runtimes, OpenClaw, NanoClaw, Hermes and Picoclaw, and Claude Code is not among them. The skills check a signed advisory feed against the skills you have installed, hold risky installs for a second yes, and watch an agent’s core files for change.

  1. You add clawsec-suite to your OpenClaw agent
  2. You review and enable its advisory hook
  3. The hook checks the signed feed on each new session
  4. A match reaches you with its severity
  5. Removal and risky installs wait for your second yes

Who it suits

People who run an OpenClaw, NanoClaw, Hermes or Picoclaw agent and install skills for it. In the README’s words it helps operators verify skill artifacts, detect configuration drift, audit agent environments and approval-gate risky installs. Its skills target those four runtimes, and clawtributor also gives a Codex install line.

Who uses it, and how
WhoSkills they reach forExample
Owners of an OpenClaw agentclawsec-suiteThe agent reports an advisory that matches an installed skill, then waits for your approval before it removes anything.
People who install skills oftenThe suite’s guarded installerAn install of a skill named in an advisory stops with exit code 42 until you confirm a second time.
Owners of an agent with a personality filesoul-guardianA change to SOUL.md is spotted, the file is restored from its approved copy, and you get an alert.
Operators on Hermes or Picoclawhermes-attestation-guardian, picoclaw-security-guardianA saved posture file is compared with an approved baseline, and a critical change fails the check.

Where to use it

Each runtime has an entry skill, and the OpenClaw suite points to add-ons.

  • OpenClaw: clawsec-suite, then optional add-ons such as soul-guardian, clawsec-scanner, openclaw-audit-watchdog and clawsec-feed
  • NanoClaw: clawsec-nanoclaw
  • Hermes: hermes-attestation-guardian
  • Picoclaw: picoclaw-security-guardian, with picoclaw-self-pen-testing as a separate opt-in package
  • All four runtimes: clawtributor, which helps an agent draft a threat report

How to set it up

This route is for OpenClaw. The README says adding the suite and turning on its hook are separate, reviewable steps. Get it saves a zip of Mindket’s setup notes in your downloads folder, with a page for each runtime.

What you need first
NeedDetail
An OpenClaw agentThe suite’s SKILL.md lists the openclaw command among its required programs
Node.js and npxFor the install line and the setup script
curl, jq, shasum, openssl, unzipAlso listed as required in the suite’s SKILL.md
WindowsThe README gives PowerShell lines for the setup script and says POSIX .sh workflows need WSL or Git Bash
Accounts and keysNone named for the suite. It fetches the signed feed from clawsec.prompt.security unless you pin local paths
  1. Add the suite. Run the README’s install line. Its next commands look for it in ~/.openclaw/skills, or in INSTALL_ROOT if you set that.
  2. Review and enable the hook. Run the setup script. It prints a preflight before it changes OpenClaw’s persistent configuration.
  3. Restart, then scan once. Restart the OpenClaw gateway and type /new to trigger the first advisory scan.
  4. List the optional add-ons. Run the catalog script, then install any add-on you want by name.
npx skills add prompt-security/clawsec --skill clawsec-suite -a openclaw --global -y

If you install for someone else, the README says to ask their agent to run the install. The agent should show the hook preflight and wait for approval before it enables the hook or the optional cron job. ClawHub is a second route for step 1, and the suite’s own file calls it recommended: npx clawhub@latest install clawsec-suite.

SUITE_DIR="${INSTALL_ROOT:-$HOME/.openclaw/skills}/clawsec-suite"
node "$SUITE_DIR/scripts/setup_advisory_hook.mjs"
node "$SUITE_DIR/scripts/discover_skill_catalog.mjs"

How to use it

Most of the suite works on its own once the hook is on. You step in when it asks for approval. The table lists each skill, the runtime it is for, and what it does.

The skills
SkillRuntimeWhat it does
clawsec-suiteOpenClawWatches the signed advisory feed, matches it to installed skills, holds risky installs for a second confirmation, and sets up the other skills.
clawsec-feedOpenClawThe advisory feed on its own. Automation comes from the suite or your own scheduler.
clawsec-scannerOpenClawScans dependencies with npm audit and pip-audit, looks up CVEs, runs Semgrep and Bandit, and reads hook files without running them.
soul-guardianOpenClawTakes a baseline of core files such as SOUL.md and AGENTS.md, spots drift, then restores a file or alerts you, by policy.
openclaw-audit-watchdogOpenClawSets up a daily audit and sends its report to a DM channel and recipient you set, with an optional email copy.
clawsec-clawhub-checkerOpenClawAdds a reputation check before a guarded install and asks for confirmation when the score is low.
clawsec-nanoclawNanoClawGives the agent MCP tools to check a skill’s safety before install, audit installed skills and check file integrity.
hermes-attestation-guardianHermesMakes posture attestations, verifies them and compares them with a baseline for drift.
picoclaw-security-guardianPicoclawChecks advisories from the signed feed, compares the setup with an approved baseline and verifies release files. Read-only by default.
picoclaw-self-pen-testingPicoclawA separate package that reviews a Picoclaw posture profile for risky settings. Read-only.
clawtributorAll fourDrafts a threat report. Nothing is sent unless you approve it and submit it by hand.

Example

You ask your agent to install a skill that the advisory feed has flagged.

Please install the skill helper-plus version 1.0.1.

The guarded installer prints the advisory and stops with exit code 42, and the agent asks you to confirm a second time before it installs anything.

If you say yes, the agent reruns the command with --confirm-advisory. If the feed has no match, the install goes ahead with no second question. The name helper-plus comes from the SKILL.md’s own example.

For newcomers and experts

If you are new. An agent skill is a folder of instructions and scripts that your agent runs on your machine. A bad one can read files or send data out, so it pays to check one before you install it. ClawSec keeps a signed list of known problems and checks its signature before it trusts the list. Then it compares that list with what you have installed.

For experts. The README pins an Ed25519 public key for the feed. The suite requires a feed signature by default and fails closed. CLAWSEC_ALLOW_UNSIGNED_FEED=1 is a temporary bypass for a migration only. The hook runs on agent:bootstrap and on /new, and limits itself to one run per 300 seconds by default, which CLAWSEC_HOOK_INTERVAL_SECONDS changes. The README shows how to query the feed yourself:

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

To silence an advisory you have reviewed, the suite reads a suppression file: a --config path, OPENCLAW_AUDIT_CONFIG, ~/.openclaw/security-audit.json or .clawsec/allowlist.json, in that order. The file only counts when it holds an enabledFor list that names advisory, and each entry needs a checkId, a skill, a reason and a date.

Good to know

ClawSec changes your agent’s setup, and it asks first.

  • What the suite changes: its setup script installs a hook under ~/.openclaw/hooks, and an optional script creates an unattended job, every 6 hours by default. Each prints a preflight first
  • Network: the suite fetches the signed feed and catalog data unless you pin local paths
  • Approval stays with you: the suite recommends removal and blocks risky installs, and overrides need your confirmation
  • soul-guardian: in restore mode it overwrites a drifted SOUL.md or AGENTS.md with the approved copy on purpose. It cannot prove who made a change, and it is no substitute for backups
  • Not shipped: the README says the traffic-guardian folders are specifications for platform builders, not runtime proxies today
  • Install lines: the NanoClaw and Picoclaw skill files give npx skills add with -a openclaw, the OpenClaw target, not one named for their own runtime. Check where your runtime reads skills before you run it. The Hermes file uses -a hermes-agent
  • Maker: Prompt Security, from SentinelOne, under AGPL-3.0-or-later. If you change ClawSec and let people use your version over a network, that license has you offer them its source at no charge. A changed copy you hand on stays under the same license, with its source

README and files

README
# ClawSec: setup notes

This kit holds setup notes written by Mindket. It does not contain the skills, their scripts or the advisory feed. Those install from Prompt Security’s repository: https://github.com/prompt-security/clawsec

License: GNU AGPL-3.0-or-later. Full text: https://github.com/prompt-security/clawsec/blob/main/LICENSE. The README says files under its font/ folder have separate license terms. This kit is Mindket’s own text and copies none of the repository’s code. If you change ClawSec and let people use your version over a network, section 13 of that license has you offer them its source at no charge.

ClawSec is made by Prompt Security, which the README’s footer calls “Prompt Security, from SentinelOne”. Mindket lists it and is not the maker.

The pages these notes came from: the README (https://github.com/prompt-security/clawsec/blob/main/README.md), the SKILL.md of each skill under https://github.com/prompt-security/clawsec/tree/main/skills, and the repository’s .claude-plugin/marketplace.json. Mindket copied every command and ran none of them.

## What it is

A collection of security skills and a signed advisory feed for AI agent runtimes. The README names four: OpenClaw, NanoClaw, Hermes and Picoclaw. Claude Code is not among them. In the README’s words it helps operators verify skill artifacts, detect configuration drift, audit agent environments and approval-gate risky installs.

The README gives each runtime an entry skill:

| Runtime | Entry skill |
|---|---|
| OpenClaw | clawsec-suite |
| NanoClaw | clawsec-nanoclaw |
| Hermes | hermes-attestation-guardian |
| Picoclaw | picoclaw-security-guardian, and picoclaw-self-pen-testing as a separate opt-in package |

OpenClaw’s suite then points to separate add-ons for drift and audits. The README says the `*-traffic-guardian` folders are specification baselines for platform builders and are not shipped runtime proxies today.

## Files in this kit

- setup/openclaw.md: installing the OpenClaw suite, enabling its hook, the guarded installer and the signed advisory feed
- setup/add-ons.md: the OpenClaw add-ons, soul-guardian, the scanner, the audit watchdog, the feed on its own, the ClawHub checker and clawtributor
- setup/other-runtimes.md: the NanoClaw, Hermes and Picoclaw skills

## What you need first

- An agent on one of the four runtimes. Each skill file lists the programs it needs. The OpenClaw suite lists node, npx, openclaw, curl, jq, shasum, openssl and unzip.
- On Windows, the README gives PowerShell lines for the suite’s setup script, and says POSIX .sh workflows need WSL or Git Bash.
- Network access to clawsec.prompt.security for the advisory feed, unless you pin local paths.

## What installs where

- OpenClaw: the suite goes into ~/.openclaw/skills/clawsec-suite by default, the hook under ~/.openclaw/hooks, and its state in ~/.openclaw/clawsec-suite-feed-state.json.
- Hermes: files the skill writes go under ~/.hermes/security/.
- Picoclaw: files the skill writes go under ~/.picoclaw/security/clawsec/.

## The plugin file

The repository’s .claude-plugin/marketplace.json groups the skills into plugins by runtime. The README gives no /plugin command, so these notes give none.

## Your data

The suite fetches the signed advisory feed and catalog data from clawsec.prompt.security unless you pin local paths. The audit watchdog, if you add it, sends its reports to the DM channel and recipient you set, and by email only when you name an address. Reporting a threat with clawtributor is opt-in for every submission, and its SKILL.md says to sanitize evidence before it leaves the host.

## Update and remove

The README gives no removal step. The suite’s SKILL.md says an update check is part of its heartbeat. Remove a skill the way your runtime removes skills.
Files
README.md  4 KB
setup/add-ons.md  6 KB
setup/openclaw.md  5 KB
setup/other-runtimes.md  5 KB

4 files, 20 KB, downloaded as a zip.

What’s new

  • Version 2 · 2026-11-09

    Updated by Mindket to the current version of this kit.

  • Version 1 · 2026-11-07

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar projects

See all in Developer

Hermes Agent

NousResearch · Kit

Nous Research’s open source agent that you run in a terminal, in a desktop app or from a chat app. It keeps memory, writes skills from experience, runs schedul…

New261k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k