security-audit
Skill0 starsChanged 8 months agoMITView on GitHub
Audit the codebase for security vulnerabilities: OWASP Top 10, dependency risks, exposed secrets, auth patterns, and input validation. Produces a severity-ranked findings report. Triggers: "security audit", "audit sécurité", "vulnerabilities", "OWASP", "security check".
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 repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ci-watchSkill
- commitSkill
- discovery-interview-prepSkill
- doc-generateSkill
- incident-responseSkill
- opportunity-solution-treeSkill
- polarisSkill
- prd-developmentSkill
- prioritization-advisorSkill
- reviewSkill
- roadmapSkill
- session-wrapSkill
- spec-updateSkill
- tddSkill
- tech-debt-auditSkill
- test-runnerSkill
- user-storySkill
- uxSkill
- workshop-facilitationSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 173 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Not a runtime test: No fuzzing, no pentesting -- static analysis and pattern matching only
- Distinctive: line 44
Not a replacement for security tooling: Use this alongside (not instead of) SAST/DAST tools
- Very specific: line 48
Use workshop-facilitation as the default interaction protocol for this skill.
- Very specific: line 97
After collecting answers, delegate the codebase scan to the security-auditor agent (.claude/agents/security-auditor.md):
- Distinctive: line 130
Fix: Always state what was NOT checked.
- Distinctive: line 133
Symptom: Every finding marked as "Critical"
- Distinctive: line 135
Fix: Use strict severity criteria.
- Distinctive: line 138
Symptom: Add input validation at one endpoint but miss the same pattern elsewhere
“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
Purpose
Perform a comprehensive security review of the entire codebase. Use this when you need to assess your project's security posture beyond what block-secrets.js catches at commit time. Outputs a findings report ranked by severity with actionable remediation steps.
This is not a penetration test -- it's a static analysis and pattern review. It catches code-level vulnerabilities, not infrastructure or runtime issues.
Key Concepts
OWASP Top 10 (2021)
- A01: Broken Access Control -- Missing auth checks, IDOR, privilege escalation
- A02: Cryptographic Failures -- Weak hashing, plaintext secrets, insecure TLS config
- A03: Injection -- SQL injection, XSS, command injection, template injection
- A04: Insecure Design -- Missing threat model, insecure business logic
- A05: Security Misconfiguration -- Debug mode in prod, default credentials, verbose errors
- A06: Vulnerable Components -- Outdated deps with known CVEs
- A07: Auth Failures -- Weak passwords, missing MFA, broken session management
- A08: Data Integrity Failures -- Unsigned updates, deserialization attacks
- A09: Logging Failures -- Missing audit logs, logging sensitive data
- A10: SSRF -- Server-side request forgery via user-controlled URLs
STRIDE Threat Model
- Spoofing -- Can someone impersonate a user or service?
- Tampering -- Can data be modified in transit or at rest?
- Repudiation -- Can actions be denied without audit trail?
- Information Disclosure -- Can sensitive data leak?
- Denial of Service -- Can the system be overwhelmed?
- Elevation of Privilege -- Can a user gain unauthorized access?
Anti-Patterns
- Not a compliance checklist: This is a practical code review, not SOC 2 or ISO 27001 certification
- Not a runtime test: No fuzzing, no pentesting -- static analysis and pattern matching only
- Not a replacement for security tooling: Use this alongside (not instead of) SAST/DAST tools
Facilitation Source of Truth
Use workshop-facilitation as the default interaction protocol for this skill.
It defines: session heads-up + entry mode (Guided, Context dump, Best guess), one-question turns, progress labels, interruption handling, numbered recommendations at decision points, quick-select options.
This file defines the domain-specific assessment content. If there is a conflict, follow this file's domain logic.
Application
This interactive skill asks up to 4 adaptive questions, then performs a deep security scan.
Question 1: Application Type
"What type of application is this?"
- Web application -- Browser-facing, handles user sessions, renders HTML/JS
- API service -- REST/GraphQL backend, consumed by clients
- CLI tool / library -- No network surface, but processes user input
- Full-stack -- Both frontend and backend in this repo
Question 2: Attack Surface
"Which attack surfaces are present? (select all that apply)"
- User authentication -- Login, sessions, tokens, OAuth
- User input processing -- Forms, file uploads, search, comments
- External API calls -- Third-party services, webhooks, payment providers
- Database operations -- SQL/NoSQL queries, ORM usage
- File system access -- Reading/writing files based on user input
Question 3: Sensitive Data
"What types of sensitive data does this application handle?"
- PII -- Names, emails, addresses, phone numbers
- Financial -- Payment cards, bank details, transactions
- Credentials -- Passwords, API keys, tokens (stored or processed)
- None / minimal -- Public data only, no user accounts
Question 4: Deployment Context
"Where is this application deployed?"
- Cloud (managed) -- AWS, GCP, Azure with managed services
- Containers -- Docker/Kubernetes
- On-premise / VPS -- Self-managed servers
- Not deployed yet -- Development phase only
Audit Process
After collecting answers, delegate the codebase scan to the security-auditor agent (.claude/agents/security-auditor.md):
Use the Agent tool with subagent_type="general-purpose" and model="haiku".
Pass the collected context (app type, attack surfaces, sensitive data, deployment) as the prompt.
The agent scans the codebase and returns a structured Security Audit Report.The agent handles: secret scan, dependency check, auth review, input handling, configuration, logging. It returns a severity-ranked findings report with actionable fixes.
Examples
Example 1: API with SQL Injection Risk
- Context: Express.js API, PostgreSQL, user auth with JWT
- Finding: 3 endpoints use string concatenation for SQL queries
- Severity: Critical (A03: Injection)
- Fix: Replace string interpolation with parameterized queries
- Why this matters: A single injection point can compromise the entire database
Example 2: Clean Project with Dependency Risk
- Context: Well-coded React + Node app, no code-level vulnerabilities
- Finding: 2 dependencies with known CVEs (lodash < 4.17.21, express < 4.18.0)
- Severity: Medium (A06: Vulnerable Components)
- Fix:
npm update lodash express-- no breaking changes expected - Why NOT critical: The vulnerable functions aren't used in the codebase, but update anyway
Common Pitfalls
Pitfall 1: False Sense of Security
Symptom: "Zero findings" report accepted without question Consequence: Real vulnerabilities missed because the audit scope was too narrow Fix: Always state what was NOT checked. Acknowledge limitations of static analysis.
Pitfall 2: Severity Inflation
Symptom: Every finding marked as "Critical" Consequence: Team ignores the report due to alert fatigue Fix: Use strict severity criteria. Critical = exploitable remotely with high impact. Most findings are Medium.
Pitfall 3: Fix Symptoms, Not Causes
Symptom: Add input validation at one endpoint but miss the same pattern elsewhere Consequence: Same vulnerability in 5 other endpoints Fix: Identify the root pattern (e.g., no query builder). Fix systemically, not per-instance.
Pitfall 4: Auditing Without Context
Symptom: Flagging internal-only admin tools with the same severity as public APIs Consequence: Wasted effort on low-risk surfaces Fix: Adjust severity based on exposure. Internal tool + VPN = lower risk than public endpoint.
Pitfall 5: One-Time Audit
Symptom: Security audit done once at launch, never again
Consequence: New vulnerabilities introduced over months go undetected
Fix: Schedule quarterly audits. Add security checks to /review for ongoing coverage.
Advanced Techniques
For DevSecOps pipeline integration, STRIDE workflow, attack tree analysis, and compliance mapping, read security-audit/advanced-techniques.md.
References
External Frameworks
- OWASP, Top 10 Web Application Security Risks (2021)
- Microsoft, STRIDE Threat Model (1999)
- NIST, Secure Software Development Framework (SP 800-218)
- SLSA, Supply-chain Levels for Software Artifacts — https://slsa.dev/
Tools
- Semgrep: https://semgrep.dev/
- CodeQL: https://codeql.github.com/
- Trivy: https://trivy.dev/
- TruffleHog: https://github.com/trufflesecurity/trufflehog
- CycloneDX (SBOM): https://cyclonedx.org/
Related Skills
/review-- Per-change review includes basic security checks/tech-debt-audit-- Overlapping on dependency healthblock-secrets.jshook -- Commit-time secret detection (complementary)
Credit
- Inspired by Desktop Commander "Assess Project's Security" prompt pattern.
- DevSecOps, STRIDE workflow, and compliance sections extracted from
wshobson/agentspluginssecurity-compliance(v1.3.0) andsecurity-scanning(v1.3.0).
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.

