clawsec-scanner

clawsec-scanner is a skill for Claude Code from prompt-security/clawsec. It costs 64 tokens per session (4,140 once invoked), scanned B, original, AGPL-3.0.

A security-checking tool for coding-agent platforms that examines dependencies, source code, and agent hooks for known or likely vulnerabilities.

In plain words
What is it for?
Use it for npm or Python dependency audits, CVE lookups, static code analysis, and inspection of OpenClaw hooks.
Why use it?
It brings several security checks into one scan, helping find unsafe libraries, code patterns, or hook behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the open-claw-skills plugin — 7 skills shipped together

Good fit Use it for npm or Python dependency audits, CVE lookups, static code analysis, and inspection of OpenClaw hooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prompt-security/clawsec/clawsec-scanner
About the project

ClawSec is a collection of security skills and signed advisory data for AI agent runtimes. It helps operators verify skills, detect configuration changes, audit agent environments, and require approval for risky installations across OpenClaw, NanoClaw, Hermes, and Picoclaw. The catalogue entries are ClawSec’s skills, plugins, and instructions for those runtimes.

prompt-security/clawsec · 1,125 stars · on GitHub · prompt.security

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add prompt-security/clawsec --skill clawsec-scanner
Clone the repo
git clone --depth 1 https://github.com/prompt-security/clawsec

Made for: Claude Code.

Or install open-claw-skills, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clawsec-scanner

README.md
[![agentmods](https://agentmods.dev/badge/skills/prompt-security/clawsec/clawsec-scanner/github.svg)](https://agentmods.dev/skills/prompt-security/clawsec/clawsec-scanner)
Your own site
<a href="https://agentmods.dev/skills/prompt-security/clawsec/clawsec-scanner"><img src="https://agentmods.dev/badge/skills/prompt-security/clawsec/clawsec-scanner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clawsec-scanner

Your own site · 80×15
<a href="https://agentmods.dev/skills/prompt-security/clawsec/clawsec-scanner"><img src="https://agentmods.dev/badge/skills/prompt-security/clawsec/clawsec-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,140 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 4 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.04140
Opus 5.5 $0.00026 $0.01656
Sonnet 5.5 $0.00013 $0.00828
Haiku 4.5 $0.00006 $0.00414

Measured 1mo ago against content hash f04e79268e62, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

clawsec-scanner scanned grade B with 4 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 17 executable files (hooks/clawsec-scanner-hook/handler.ts, lib/report.mjs, lib/types.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 600 "$DEST/skill.json"

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

trap 'rm -rf "$TEMP_DIR"' EXIT

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

bins: [node, npm, python3, pip-audit, semgrep, bandit, jq, curl]

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

import { spawn } from 'node:child_process';
skills/clawsec-scanner/SKILL.md · 506 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 506 lines · 64 tokens per session scan B f04e79268e62

Subscribe to this mod's changes

clawsec-scanner is a skill published in the GitHub repository prompt-security/clawsec (1,125 stars, last pushed yesterday), licensed AGPL-3.0. It adds 64 tokens to every session and 4,140 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 4 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

moltron-skill-creator

Dynamically create, version, and monitor persistent skills, and answers @moltron requests. Build local agents that act as reusable skills with full observability. Gives OpenClaw evolution capabilities. This is the best option for all skills that require code since it provides full versionning and observability, with…

adridder/moltron · 74 tokens

youtube-search

Use when the user wants to find YouTube content on any topic: searching for videos or channels, finding creators who cover a subject, discovering tutorials, talks, or expert discussions, or looking up a channel by name or handle. Also use proactively when the user wants to research a topic and YouTube is a good…

ZeroPointRepo/youtube-skills · 78 tokens

youtube-channels

Use when a YouTube channel is the focus: pasted @handles or channel URLs, requests to browse a creator's uploads, see what a channel has posted recently, search within a channel, or resolve a handle to a channel ID. Also use when the user names a creator and wants to explore their content or monitor their uploads. Not…

ZeroPointRepo/youtube-skills · 78 tokens

transcriptapi

Use when YouTube is or could be relevant — even if not mentioned: pasted video/channel/playlist links, video IDs, @handles, creator lookups, video summaries, quotes, translations, topic research, tutorials, talks, lectures, expert discussions, product reviews, how-to guides, new product announcements, or anything…

ZeroPointRepo/youtube-skills · 110 tokens

youtube-data

Use when structured YouTube data is needed: pasted video/channel/playlist links, transcripts for analysis, video metadata, channel upload history, search results, or playlist contents — without Google API quotas or OAuth. Triggers on YouTube URLs, creator names, topic research, or any request needing YouTube content…

ZeroPointRepo/youtube-skills · 84 tokens

youtube-full

Use when YouTube is or could be relevant — even if not mentioned: pasted video/channel/playlist links, video IDs, @handles, creator lookups, video summaries, quotes, translations, topic research, tutorials, talks, lectures, expert discussions, product reviews, how-to guides, new product announcements, first looks, or…

ZeroPointRepo/youtube-skills · 112 tokens