security-audit
Skill4 starsChanged 16 days agoMITView on GitHub
Focused security pass for code changes and codebases. Use when code handles user input, authentication, sessions, permissions, secrets, file uploads or paths, payments, SQL, shell commands, templates, deserialization, redirects, outbound requests (SSRF), webhooks, or LLM and agent tool calls (prompt injection), before shipping anything exposed to the internet, and when the user asks for a security review or audit. Traces untrusted input to dangerous sinks, checks authorization on every path, and reports only verified, exploitable findings with severity and a fix.
191 other projects use a version of this.
Adopted by
Most recently taken up by
- RoboFinSystems/robosystemstheir own version, first seen Nov 30, 2026
- mfish-qf/mfish-nocodetheir own version, first seen Nov 30, 2026
- aykyusuf/crew-chieftheir own version, first seen Nov 29, 2026
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- nurmdrafi/pi-nativetheir own version, first seen Nov 29, 2026
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use asset-spec, create-stories 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.
lilangMaxSkillasset-spec
Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profiles. Produces structured spec files and updates the master asset manifest. Run after art bible and GDD/level design are approved, before production begins.
Also in 12 projects that use this
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 14 projects that use this
adybaSkillteam-coordination
Agent Teams orchestration patterns for multi-agent SAFe workflows. Use when spawning agent teams, coordinating teammates, enforcing quality gates via task dependencies, or orchestrating the 11-agent SAFe pipeline. Covers team creation, messaging, shared task lists, and SAFe gate enforcement. Do NOT use for single-agent or simple subagent workflows.
Also in 5 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
- +5 more from lilangMax
- +2 more from nicepkg
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- ruvnet/claude-flow★ 83ksame name
- ruvnet/ruflo★ 83ksame name
- PostHog/posthog★ 41ksame name
- Donchitos/Claude-Code-Game-Studios★ 39ksame name
- cloudflare/security-audit-skill★ 18ksame name
- rommapp/romm★ 15ksame name
- kubeshark/kubeshark★ 12ksame name
- maximhq/bifrost★ 9.6ksame name
- mono/SkiaSharp★ 5.6ksame name
- MaxMiksa/Auto-Company★ 3.2ksame name
181 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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-ready-repoSkill
- bug-triageSkill
- ci-auditorSkill
- deep-modulesSkill
- evidence-before-claimsSkill
- finish-the-jobSkill
- parallel-agentsSkill
- plan-before-codeSkill
- prior-art-scoutSkill
- senior-engineerSkill
- staff-reviewSkill
- state-machine-hunterSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Verify reachability: before reporting. Is the endpoint exposed?
- Distinctive: line 56
Add a test that demonstrates the attack fails.
- Distinctive: line 57
Prefer well-vetted libraries for crypto, auth, sanitization, and parsing over custom code.
- Distinctive: line 58
Don't break legitimate behavior: verify the fix with the existing suite.
“Common” is measured: kept by at least 6 in 10 of the 174 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
Security review is not a checklist recital; it's tracing how an attacker's input flows through the system and finding the places where it can do something it shouldn't. Report findings that are real and reachable, with a concrete exploit path. A short list of verified issues gets fixed; a long list of maybes gets ignored.
Scope and ethics: review code you've been asked to review. Don't probe production systems or third-party services, and don't write weaponized exploits. A clear description of the attack path and a failing test are enough to prove a finding.
Method
- Map trust boundaries. Where does untrusted data enter? HTTP params, headers, cookies, bodies, file uploads, webhooks, queue messages, environment and config files, third-party API responses, LLM outputs, and content an agent reads (web pages, issues, documents).
- Find the dangerous sinks. SQL and NoSQL queries, shell execution, file system paths, template rendering and HTML output, deserializers, redirects, outbound HTTP, cryptographic operations, privilege changes, and LLM tool calls with side effects.
- Trace sources to sinks. For each path, check what validation, encoding, parameterization, or authorization sits in between, and whether it's applied on every path, including error handlers, background jobs, and admin endpoints.
- Check authorization separately from authentication. "Logged in" isn't "allowed". For every object access, confirm the code checks that this user may act on this object (IDOR is the most common serious web bug).
- Verify reachability before reporting. Is the endpoint exposed? Is the input actually attacker-controlled? Is there an upstream control you missed?
What to look for
| Area | Typical bugs |
| Injection | String-built SQL, shell commands with interpolated input, template injection, LDAP and XPath injection |
| Access control | Missing ownership checks (IDOR), privilege escalation via mass assignment, admin routes without role checks, tenant isolation gaps |
| Authentication and sessions | Weak password storage (fast or unsalted hashes such as MD5 or SHA-256; acceptable choices are argon2id, scrypt, bcrypt, or PBKDF2 with a high iteration count), missing rate limits on login and reset, predictable tokens, sessions not invalidated on logout or password change, JWT alg confusion |
| Secrets | Keys in code, config, logs, error messages, or client bundles; overly broad tokens |
| Web | XSS (unescaped output, dangerouslySetInnerHTML, v-html), CSRF on state-changing requests, open redirects, permissive CORS with credentials |
| Files | Path traversal (../), unrestricted upload types, zip slip, serving user files from the app's origin |
| Server-side requests | SSRF to internal addresses and cloud metadata (169.254.169.254) via user-supplied URLs or webhooks |
| Deserialization | pickle, Java native serialization, YAML load, or eval on untrusted data |
| Crypto | Home-made crypto, ECB mode, static IVs, Math.random for tokens, non-constant-time secret comparison |
| Money and limits | Race conditions in balance updates, negative quantities, client-trusted prices, missing idempotency keys |
| LLM and agents | Prompt injection from retrieved content steering tool calls; tools that act (send, delete, pay) without confirmation; data exfiltration via rendered links or images; model output passed to shells, SQL, or HTML unescaped |
| Dependencies | Known-vulnerable versions (npm audit, pip-audit, cargo audit, govulncheck, osv-scanner) that are actually reachable |
| Logging | Passwords, tokens, or personal data in logs; missing audit trail for sensitive actions |
Finding format
**[high] IDOR: any user can read any invoice**: `api/invoices.ts:42`
`GET /invoices/:id` loads by ID without checking `invoice.accountId === session.accountId`.
Attack: authenticated user iterates IDs and downloads other customers' invoices.
Fix: scope the query by account (`where: { id, accountId: session.accountId }`) and add a test that a second account gets 404.Severity: critical (remote, unauthenticated, broad impact), high (authenticated user can access or modify others' data, or significant secrets exposed), medium (needs unusual conditions or limited impact), low (defense in depth). Score findings with bug-triage (security bugs score likelihood by reachability and attacker motivation). Report them, and change code only when the user asked for fixes.
Fixing
- Fix the class, not the instance: parameterized queries everywhere, a single authorization helper, output encoding by default.
- Add a test that demonstrates the attack fails.
- Prefer well-vetted libraries for crypto, auth, sanitization, and parsing over custom code.
- Don't break legitimate behavior: verify the fix with the existing suite.
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.

