security-audit
Skill5 starsChanged 4 months agoMITView on GitHub
Run a stateful red team / blue team security audit on the current project or a specific module. First enumerates the attack surface deterministically with `clawness scan` (zero LLM tokens, identical every run) and accumulates verdicts in a findings ledger, so each pass adjudicates only what is NEW instead of re-scanning blind — turning a 5-10 run scan into 1-2 converging passes. Reach for this whenever the user asks for a security audit, a vulnerability scan, a code security review, or hardening — before deployment, after adding auth/ payment/user-data code, or on a schedule — even if they don't type the command.
192 other projects use a version of this.
Adopted by
Most recently taken up by
- argos-ci/argostheir own version, first seen Nov 9, 2026
- classroomio/classroomiotheir own version, first seen Nov 9, 2026
- dio-az/dotfilestheir own version, first seen Nov 8, 2026
- roke22/Squadratheir own version, first seen Nov 8, 2026
- qwwiwi/agentos-skills-publictheir own version, first seen Nov 8, 2026
- craigcossairt/trellistheir own version, first seen Nov 8, 2026
Used with
Projects with it also use create-stories, story-done and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
lilangMaxSkillcreate-stories
Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.
Also in 11 projects that use this
lilangMaxSkillstory-done
End-of-story completion review. Reads the story file, verifies each acceptance criterion against the implementation, checks for GDD/ADR deviations, prompts code review, updates story status to Complete, and surfaces the next ready story from the sprint.
Also in 11 projects that use this
nicepkgSkillcommunity-led-growth
Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.
Also in 5 projects that use this
nicepkgSkillph-community-outreach
Engage Reddit, Indie Hackers, Hacker News and other communities for Product Hunt launches. Use this skill to identify relevant communities, craft appropriate posts, and drive cross-platform engagement without appearing spammy.
Also in 5 projects that use this
- +7 more from lilangMax
- +1 more from nicepkg
Other versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 192
- ruvnet/claude-flow★ 80ksame name
- ruvnet/ruflo★ 79ksame name
- PostHog/posthog★ 40ksame name
- Donchitos/Claude-Code-Game-Studios★ 27ksame name
- cloudflare/security-audit-skill★ 18ksame name
- rommapp/romm★ 14ksame name
- kubeshark/kubeshark★ 12ksame name
- maximhq/bifrost★ 9.4ksame name
- mono/SkiaSharp★ 5.6ksame name
- MaxMiksa/Auto-Company★ 3.2ksame name
182 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- openclaw/CLAUDE.mdCLAUDE.md
- addSkill
- audit-rulesSkill
- bootstrapSkill
- claude-mdSkill
- eval-setSkill
- messagingSkill
- openclaw-auditSkill
- perfSkill
- refreshSkill
- reviewSkill
- statusSkill
- testSkill
- user-docsSkill
- vuln-huntSkill
- vuln-reportSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 173 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
converge: instead of repeating.
- Distinctive: line 37
If neither path exists (an older Claude Code before the bootstrap has run), start a fresh session.
- Very specific: line 48
SAST pass (when a scanner is installed): Check which of these are on PATH (command -v) and run each one present, writing SARIF into one …
- Distinctive: line 68
If no scanner is installed, say which ones would add coverage for this stack and carry on with the native scan.
- Distinctive: line 76
Read them as leads for the red team, not as adjudicated findings.
- Distinctive: line 115
If $ARGUMENTS is provided, scope the audit to that path or module.
“Common” is measured: kept by at least 6 in 10 of the 173 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Audit Workflow
A stateful adversarial audit. Discovery is deterministic (clawness scan),
judgment accumulates in a ledger (.clawness/security/findings.json), so runs
converge instead of repeating.
Before spawning agents: the red/blue-team pass launches several adversarial sub-agents and is token-intensive. If you surfaced this proactively (the user mentioned security but didn't explicitly ask to run it), first ask: "Want me to run the full red team / blue team audit now?" and proceed only once they confirm. Running
clawness scanitself is cheap and deterministic — you may run that first to show the surface, then ask before fanning out agents. If the user explicitly invoked/clawness:security-auditor already said yes, skip the question.
The CLI isn't on PATH. Reach it through the bundled launcher, falling back to the wrapper the SessionStart bootstrap stashes on older Claude Code:
CLAW="${CLAUDE_PLUGIN_ROOT}/scripts/clawness-cli.sh"
[ -f "$CLAW" ] || CLAW="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/clawness/clawness-cli.sh"
bash "$CLAW" scan --project . # enumerate + accumulate the ledger
bash "$CLAW" scan status --project . # show coverage without re-scanningIf neither path exists (an older Claude Code before the bootstrap has run), start a fresh session.
Steps
Enumerate (deterministic, free) — Run
bash "$CLAW" scan --project <scope>. This lists sink/source candidates (SQL/command injection, unsafe deserialization, XSS, path traversal, broken authz, hardcoded secrets, weak crypto, SSRF), each with a CWE, a mapped rule id, and a stable id, and merges them into the ledger. Note the coverage line it prints. Use--new-onlyto see just what hasn't been adjudicated yet,--class <name>to focus one category.SAST pass (when a scanner is installed). Check which of these are on PATH (
command -v) and run each one present, writing SARIF into one directory, then re-run the scan with--sarifso the results merge into the same ledger, dedup against the native candidates, and get adjudicated in step 3 like everything else:OUT=.clawness/security/sast; mkdir -p "$OUT" semgrep scan --config p/default --metrics=off --sarif-output="$OUT/semgrep.sarif" . bandit -r . -f sarif -o "$OUT/bandit.sarif" # Python gitleaks dir . --report-format sarif --report-path "$OUT/gitleaks.sarif" trivy fs --format sarif --output "$OUT/trivy.sarif" . # dependencies, IaC bash "$CLAW" scan --project . --sarif "$OUT"- Never install a scanner, and never pick a ruleset that phones home, without
asking. Semgrep's
--config autosends the project URL to Semgrep's registry, which is why it isn't used above. If the user supplied their own Semgrep rules or CodeQL queries (common for researchers), run those instead. For CodeQL, build the database, thencodeql database analyze <db> --format=sarif-latest --output="$OUT/codeql.sarif". - If no scanner is installed, say which ones would add coverage for this stack and carry on with the native scan. Don't stall.
.clawness/is gitignored and skipped by auto-detection, so this SARIF never gets committed by accident (it maps where the vulnerabilities are).--sarifis what folds it in. If the project also commits*.sarifelsewhere, runscanonce without--sarifto pick those up as well.- Tools that don't emit SARIF (TruffleHog's JSON, or a third-party skill's
markdown report, such as secureIO's
security-scan) can't enter the ledger. Read them as leads for the red team, not as adjudicated findings.
- Never install a scanner, and never pick a ruleset that phones home, without
asking. Semgrep's
- Scope — If the user named a module or directory, pass it as
--projectand focus there. Otherwise let the scan cover the tree and prioritise the security-sensitive candidates (auth, authorization, data validation, endpoints, queries, secret handling). - Red Team — adjudicate only what's NEW. Delegate to the
security-red-teamsub-agent, handing it the candidates whose ledger status isnew(fromscan --new-only): "Adjudicate these enumerated candidates. For each, decide confirmed / false-positive and give the attack path and file:line. Check for current-month CVEs affecting our stack. Also look for classes the enumerator can't see (logic flaws, auth bypass, IDOR beyond the heuristic). Do NOT re-litigate items already marked confirmed/false-positive/fixed." Have it write each verdict back to the ledger. - Blue Team — Hand the confirmed findings to the
security-blue-teamsub-agent: "Triage these confirmed findings, propose the exact code fix for each, add hardening, and search for current mitigations for any CVEs. Mark itemsfixedin the ledger once patched." It also reviews the red team's calls for false positives. - Synthesize + report coverage — Merge both reports into one action plan:
- Critical (fix before deploy) / Important (this sprint) / Improvements (backlog)
- Overall posture assessment
- The coverage number from
scan status: adjudicated vs outstanding, and whether it has converged (nothing outstanding). Tell the user when coverage has converged so they know they can stop — that convergence, not a fixed number of re-runs, is the signal.
Honest framing (state this, don't oversell)
clawness scan is a regex/heuristic tripwire, not a SAST engine (CodeQL/
Semgrep). It makes discovery reproducible and routes attention; it will miss
cross-file taint and obfuscation, and it over-reports. Say whether a real SAST pass
ran: without one, the report rests on the tripwire alone. The value is that
adjudicating a fixed short list is far more stable than open-ended discovery, and
the ledger means a verdict is recorded once, not re-derived every run.
If $ARGUMENTS is provided, scope the audit to that path or module.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

