security-audit
Skill1 starsChanged 5 days agoMITView on GitHub
Comprehensive security analysis — OWASP Top 10, auth/authz flows, injection vulnerabilities, data exposure, secrets detection, dependency CVEs, hardening recommendations. Reviews EXISTING code/config — design-time analysis of a system not yet built → threat-modeling.
- Reads credentials
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 repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-designSkill
- ai-evaluationSkill
- api-designSkill
- architecture-designSkill
- architecture-documentationSkill
- brainstormingSkill
- browser-verificationSkill
- bug-investigatingSkill
- build-vs-buySkill
- cicd-pipelineSkill
- code-archaeologySkill
- code-reviewingSkill
- code-slop-cleanupSkill
- compliance-privacySkill
- configuration-strategySkill
- containerizationSkill
- data-modelingSkill
- data-pipeline-designSkill
- data-qualitySkill
- dependency-impact-analysisSkill
- dependency-managementSkill
- deployment-checklistSkill
- deployment-repoSkill
- dx-auditSkill
- effort-estimationSkill
- exploratory-data-analysisSkill
- feature-planningSkill
- finops-cost-optimizationSkill
- frontend-architectureSkill
- gitops-deliverySkill
- git-workflowSkill
- incident-responseSkill
- infrastructure-as-codeSkill
- llm-app-engineeringSkill
- metrics-and-okrsSkill
- ml-experiment-trackingSkill
- ml-model-deploymentSkill
- ml-pipeline-designSkill
- mobile-architectureSkill
- mobile-releaseSkill
- notebook-to-productionSkill
- observability-designSkill
- performance-optimizationSkill
- plan-executionSkill
- prd-writingSkill
- project-documentationSkill
- project-proposalSkill
- project-reviewSkill
- refactoringSkill
- release-managementSkill
- research-methodologySkill
- resilience-engineeringSkill
- retrospectiveSkill
- rollback-strategySkill
- skill-routerSkill
- statistical-analysisSkill
- strategic-reviewSkill
- subagent-orchestrationSkill
- tdd-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 173 edited versions we read keep these.
10
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 27
Before reviewing code line by line, map what's exposed:
- Distinctive: line 79
In errors: Do error messages leak internal details (stack traces, SQL queries, file paths)?
- Distinctive: line 80
In responses: Do API responses include fields the client shouldn't see?
- Distinctive: line 85
Run dependency vulnerability scanners and review results:
- Distinctive: line 107
If no patch exists, what's the mitigation?
- Very specific: line 114
Check .gitignore covers sensitive files (.env, key files, certificates)
- Distinctive: line 116
Verify environment variable usage for all secrets
- Distinctive: line 117
Check that different environments use different credentials
- Distinctive: line 140
Defense in depth: Don't rely on a single security control.
- Distinctive: line 141
Least privilege: Every component should have the minimum permissions it needs.
- Distinctive: line 142
Fail secure: When something goes wrong, it should deny access, not grant it.
“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
Perform a structured security assessment of an application. This skill goes far deeper than the security checklist in code-reviewing — it's a dedicated, systematic analysis covering the OWASP Top 10 and beyond.
Scope Boundary
This skill analyzes code, configuration, and architecture for security vulnerabilities through static analysis and design review. It does not replace penetration testing, but it prepares code for one by catching the issues a pentester would find. It is the reactive half of the pair: for design-time analysis of a system that isn't built yet (trust boundaries, STRIDE, abuse cases), use threat-modeling — and when a threat model exists, use it as this audit's checklist.
⛔ The Iron Law
"No obvious problems" is not a pass.
Absence of evidence is not evidence of security. Every clearance is backed by evidence — the specific control you read and where it's enforced — and every finding cites the exact code path plus a concrete exploit scenario. If you can't write the exploit, you haven't assessed the risk; if you can, it isn't theoretical.
Workflow
Step 1: Define the Attack Surface
Before reviewing code line by line, map what's exposed:
- Entry points: HTTP endpoints, WebSocket connections, GraphQL resolvers, CLI inputs, file uploads, webhooks, cron jobs
- Authentication boundaries: What's public vs authenticated vs admin-only?
- Data flows: Where does sensitive data enter, travel, and get stored?
- External integrations: Third-party APIs, OAuth providers, payment processors
- Infrastructure: Cloud services, databases, caches, queues
Record the attack surface map as the first section of the report — gaps in understanding here mean gaps in the audit, so anything you could not map (unreachable config, undocumented integrations) goes under Open questions rather than being assumed safe.
Kick off the dependency scan while you map. npm audit / pip-audit / govulncheck
(Step 5) is one command and needs no understanding of the system, so it is the cheapest
early result in the whole audit — start it now and have findings waiting by the time the
walkthrough reaches them. When someone asks where to start, this is the answer that costs
them nothing while the real review is still being scoped.
Step 2: Assess by OWASP Top 10
Walk through each category systematically. See references/owasp-top-10.md for the detailed checklist.
For each finding:
- Severity: Critical / High / Medium / Low
- Location: File, line, endpoint
- Vulnerability: What the issue is
- Exploit scenario: How an attacker would use this (concrete, not theoretical)
- Remediation: Specific code change or configuration fix
Step 3: Authentication & Authorization Deep Dive
Auth is where the highest-impact vulnerabilities live. Review:
Authentication:
- How are credentials stored? (bcrypt/argon2 with sufficient rounds, never MD5/SHA)
- Session management: secure flags, httpOnly, sameSite, expiration
- Token handling: JWT validation (algorithm, expiry, issuer), refresh token rotation
- Password policy: minimum complexity, breached password checking
- MFA implementation (if present): bypass resistance, recovery flow security
- Rate limiting on login: brute force protection
Authorization:
- Is authorization checked on every protected endpoint (not just the UI)?
- Are there IDOR vulnerabilities? (Can user A access user B's resources by changing an ID?)
- Is the authorization model consistent? (role-based, attribute-based, or ad-hoc?)
- Are there privilege escalation paths? (Can a regular user reach admin functionality?)
- Are API endpoints and UI permissions in sync?
Step 4: Data Security Review
- At rest: Is sensitive data encrypted in the database? (PII, payment data, health data)
- In transit: Is TLS enforced everywhere? Any HTTP-only endpoints?
- In logs: Are passwords, tokens, SSNs, or credit card numbers logged?
- In errors: Do error messages leak internal details (stack traces, SQL queries, file paths)?
- In responses: Do API responses include fields the client shouldn't see?
- Retention: Is data deleted when it should be? GDPR/CCPA compliance?
Step 5: Dependency Audit
Run dependency vulnerability scanners and review results:
# JavaScript/TypeScript
npm audit
npx better-npm-audit audit
# Python
pip audit
safety check
# Go
govulncheck ./...
# Ruby
bundle audit check --updateFor each vulnerability found:
- What is the CVE and its severity?
- Is the vulnerable code path actually used in this project?
- Is there a patched version available?
- If no patch exists, what's the mitigation?
Suggest using the dependency-management skill for remediation planning.
Step 6: Secrets and Configuration
- Scan for hardcoded secrets: API keys, passwords, tokens, private keys
- Check
.gitignorecovers sensitive files (.env, key files, certificates) - Review git history for accidentally committed secrets:
git log --all -p | grep -i "password\|secret\|api_key\|token" - Verify environment variable usage for all secrets
- Check that different environments use different credentials
Step 7: Produce the Report
Output the audit report using the template at templates/security-report.md. Organize findings by severity, with Critical and High items first.
Write the full report to a file (default a gitignored location, e.g.
.local/security-audit-<date>.md) and state its path in your final summary — this
skill runs in a forked context: only the summary returns, everything unwritten is
lost. The summary must lead with the Critical/High count. Judgment calls that need
user input (unclear trust boundary, whether a data store is in scope, unverifiable
control) go in an Open questions section of the report — never silently assumed
safe.
What This Skill Does NOT Cover
- Runtime penetration testing (requires running the application)
- Network-level security (firewall rules, VPN configuration)
- Physical security or social engineering
- Compliance certification (SOC 2, HIPAA, PCI DSS — though findings may relate)
Principles Applied
- Defense in depth: Don't rely on a single security control. Layer protections.
- Least privilege: Every component should have the minimum permissions it needs.
- Fail secure: When something goes wrong, it should deny access, not grant it.
- KISS: Simpler security is more auditable security. Complex auth flows breed bugs.
Rationalizations to reject
| Excuse | Reality |
| "I didn't see anything obviously wrong" | You audited the absence of obvious bugs, not the presence of security. Trace each control. |
| "The framework handles that" | Verify the control is actually enabled and configured correctly — don't assume. |
| "Auth is checked in the UI" | UI checks are not authorization. Confirm server-side enforcement on every protected endpoint. |
| "This input is internal/trusted" | Trust boundaries shift. Validate anyway — defense in depth. |
| "That CVE doesn't apply to us" | Confirm the vulnerable code path is unused before dismissing it. |
| "It's only a theoretical risk" | If you can't write the exploit scenario, you haven't assessed it. |
Red flags — stop and correct course
- Signing off a category without naming the file/endpoint you verified.
- A finding with no concrete exploit path.
- Concluding "secure" because nothing jumped out.
- Trusting that a control exists without reading where it's enforced.
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.

