security-audit
Skill4 starsChanged 4 months agoMITView on GitHub
Audit a surface for security problems, score them honestly, and turn each into a task with a fix. Use before declaring work done, after wiring an integration, before a deploy handoff, or when the user says \"/security-audit\", \"check security\", \"audit this\", \"is this safe\". Builds the checklist from general application-security concerns plus the per-integration items in the integrations registry. Reports findings with severity, file:line and evidence; states which fixes it applied and which need a human decision; never prints secrets.
140 other projects use a version of this.
Adopted by
Most recently taken up by
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- PostHog/posthogtheir own version, first seen Oct 4, 2026
- PostHog/posthog-fosstheir own version, first seen Oct 4, 2026
- louisbrulenaudet/monorepo-templatetheir own version, first seen Oct 2, 2026
- MaxMiksa/Auto-Companytheir own version, first seen Oct 2, 2026
Used with
Projects with it also use asset-spec, create-control-manifest 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.
cenconq25Skillasset-spec
Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.
Also in 5 projects that use this
cenconq25Skillcreate-control-manifest
Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.
Also in 5 projects that use this
- +10 more from cenconq25
Other versions140 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 140
- ruvnet/ruflo★ 74ksame name
- PostHog/posthog★ 40ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- cloudflare/security-audit-skill★ 24ksame name
- maximhq/bifrost★ 8.6ksame name
- MaxMiksa/Auto-Company★ 3.1ksame name
- marketcalls/openalgo★ 2.8ksame name
- theopenco/llmgateway★ 1.7ksame name
- laolaoshiren/claude-code-skills-zh★ 876same name
- decebals/claude-code-java★ 747same name
130 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 repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- axiomatic-inductionSkill
- generate-prSkill
- genesisSkill
- git-commitSkill
- parallel-workSkill
- repo-hardeningSkill
- sourcesSkill
- test-gateSkill
- todoSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 118 edited versions we read keep these.
0
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
- Very specific: line 16
Start from the domains in §5.
“Common” is measured: kept by at least 6 in 10 of the 118 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 — score it, fix what is safe to fix, gate the rest
A finding without a location, a reason and a fix is not a finding. An audit that reports "nothing obvious" is not an audit — it is the absence of one.
1. Build the checklist
Start from the domains in §5. Add the per-integration items from each enabled service's registry entry
(security: field). Tailor depth to what the thing is: deeper threat modelling for anything network-facing,
data integrity for pipelines, the PCI surface for payments.
1a. Where a stronger scanner is installed, it does the hunting
Finding vulnerabilities and deciding what to do about them are different jobs, and this skill is better at the second than the first. A single read of a surface has no adversarial verification and no coverage accounting, so where a dedicated scanner is available, hand it the hunt and fold its output in here:
- Anthropic's
claude-securityplugin, if installed./claude-securityopens its menu; scan a diff for a surface just built, or the whole codebase before a handoff. It partitions the tree, threat-models each component, and puts every candidate through a three-lens panel that defaults to false-positive — which is the part a single pass cannot reproduce. ItsCLAUDE-SECURITY-RESULTS.jsonlis the evidence to fold in. /security-review, if available.
Three reasons this stays a preference rather than a step: the plugin may not be installed on the machine running genesis, it cannot be invoked as a skill (only as its own command or agent), and it asks the operator to accept its cost before starting — which an unattended build cannot answer on their behalf. When none is available, or the run is unattended, do §2 onward directly and say in the report which path was taken.
What stays here either way, because no general scanner covers it: the per-integration checklist from the
registry, dependency advisories, the domain ledger in §5, the fix-versus-gate line in §4, and turning findings
into docs/TODO.md items that gate the build.
2. Recon before reading
Cheap commands first, so the reading is targeted rather than a scroll:
# entry points — routes, handlers, resolvers (adjust to the framework)
grep -rnE "app\.(get|post|put|patch|delete)|@(Get|Post|Route)|export (async )?function (GET|POST)" .
# dangerous sinks
grep -rnE "innerHTML|dangerouslySetInnerHTML|eval\(|new Function|execSync|os\.system|pickle\.loads|yaml\.load\(" .
# secrets in code — report LOCATION and TYPE, never the value
grep -rnE "(api[_-]?key|secret|token|password)[[:space:]]*[:=][[:space:]]*['\"][A-Za-z0-9_-]{12,}" .
# config: debug flags, permissive CORS, disabled verification
grep -rnE "DEBUG[[:space:]]*=[[:space:]]*True|origin:[[:space:]]*['\"]\*|rejectUnauthorized:[[:space:]]*false" .
# dependency advisories (whichever applies)
npm audit --omit=dev 2>/dev/null || pip-audit 2>/dev/null || cargo audit 2>/dev/null || govulncheck ./... 2>/dev/null3. Score, don't guess
Severity is impact if exploited, adjusted by how hard it is to reach and who can reach it. The same bug lands differently in different places: reflected XSS on a public login page is not the same finding as the identical code behind an internal admin login.
| Severity | Meaning |
| critical | A direct, likely path to full compromise, mass data exposure, auth bypass — or any live secret. |
| high | A serious hole a realistic attacker can exploit. |
| medium | A real weakness that needs preconditions, or a meaningful gap in depth. |
| low | Minor exposure or a hardening gap, hard to exploit on its own. |
| info | Not a vulnerability now. Worth noting because it could compound. |
Then adjust: reachable unauthenticated → up. Needs victim interaction or rare preconditions → down. Affects every tenant, or admin → up. Exposes credentials, PII or payment data → up, and never below high.
4. Fix what is safe to fix; gate the rest
"Fix everything" must not become "silently rewrite security-critical logic". The line:
Fix directly, with a regression test — mechanical, small blast radius, no ambiguity about behaviour: a
missing security header or cookie flag; a string-built query replaced with a parameterised one; a dangerous
sink swapped for the safe equivalent; input validation, size limits, output encoding; a vulnerable dependency
moved to a patched version that does not break; a hardcoded secret moved out of code and into the environment;
an obviously wrong config (debug enabled on a production path, origin: '*' alongside credentials).
Do not apply — report with the exact fix and let a human run it:
- Rotating a leaked secret. You may take it out of the source and read it from the environment, but the value that was committed is compromised and only its owner can rotate it. Critical, always — never assume a leaked key is already dead.
- Changing who can do what — authentication or authorisation semantics, session lifetime, MFA. The lockout risk is real and the decision is not yours.
- Anything that deletes or migrates data, or touches money or billing.
- New rate limits. Propose the numbers; imposing them can lock out real users.
- Cryptographic changes that break existing data — re-hashing at rest, changing a token format. Needs a migration plan.
- Production infrastructure, IAM, DNS or deploy configuration.
Anything gated becomes a ranked finding and a docs/TODO.md item with the precise remediation, not an edit.
5. Cover every domain, and say so
Mark each evaluated or not applicable, with the reason. "Not applicable" is a real answer — no file uploads, single tenant, no browser UI — but it has to be stated. An unmarked domain is an unfinished audit, and silence reads identically to "checked, found nothing".
Surface map · authentication · sessions · authorisation and IDOR · multi-tenant isolation · injection · output encoding and XSS · input, payload and upload validation · CSRF · SSRF · headers, CORS and middleware · cryptography · randomness · secret handling · rate limiting and resource exhaustion · information disclosure · business logic, races and replay · API surface (REST, GraphQL, gRPC) · dependencies and supply chain · configuration · logging and monitoring · inbound webhooks · open redirects · client-side · memory safety (buffer and integer overflow, use-after-free, unsafe FFI — not applicable in a managed language, and say so) · AI features called on untrusted input · and the security tests themselves, which are never not applicable — every fix earns one.
6. Report
Each finding as {severity, file:line, what, why it matters, fix}, ranked, with the evidence.
Then: what you fixed, what you gated and why, and the domain coverage from §5. Critical and high findings block
"done". Turn every actionable finding into a docs/TODO.md item with a → verify: line, via the todo skill.
Never print a secret you find. Report where it is and that it needs removing and rotating — not its value.
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.

