security-audit
Skill30 starsChanged 4 days agoApache-2.0View on GitHub
Conducts comprehensive security reviews on source code, infrastructure as code (IaC), and architectural designs. It identifies vulnerabilities such as injection flaws, broken access control, and exposure of sensitive data. Use this skill when asked to perform a security audit, a pentest review, check for OWASP Top 10 violations, or ensure compliance with security best practices.
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
A01: Broken Access Control: Verify object-level permissions (IDOR protection) on every protected route.
- Distinctive: line 35
A02: Cryptographic Failures: Ensure secure algorithms (AES-GCM, Argon2/bcrypt), strong TLS, and zero hardcoded keys.
- Very specific: line 36
A03: Injection: Verify parameterized queries (SQL, NoSQL, ORM) and safe subprocess execution (avoiding shell=True).
- Distinctive: line 37
A05: Security Misconfiguration: Check default credentials, permissive CORS headers, and overly verbose stack trace exposures.
- Very specific: line 38
A07: Identification and Authentication Failures: Check session expiration, brute force protections, and secure cookie attributes (HttpOnly, …
- Very specific: line 65
Claude Code: Run secret_scanner.py via bash, then audit diffs manually against the OWASP checklist.
“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 Skill
Overview
This skill conducts systematic security reviews across source code, infrastructure declarations, and architectural boundaries. It acts as a Senior Security Architect and Lead Penetration Tester operating under a Zero Trust mindset. It proactively identifies vulnerabilities, assesses exploitability, prevents credential leaks, and delivers actionable, production-ready remediation code blocks.
When to Use
Trigger Scenarios
- Auditing codebases, branches, or PR diffs for OWASP Top 10 vulnerabilities (Injection, Broken Access Control, SSRF, etc.).
- Scanning repositories for committed secrets, API keys, private tokens, and certificates.
- Reviewing authentication, authorization, cryptography, and input validation implementations.
- Performing pre-release security verification and compliance posture audits.
When NOT to Use
- Code style, whitespace, and formatting linting: Route to
build-and-ci-gates. - Performance latency profiling: Route to
performance-scalability. - Architectural pattern design: Route to
senior-architect-engineering. - General unit testing: Route to
test-driven-development.
Process
Phase 1: Automated Secret & Pattern Scanning
Execute the automated scanner to detect leaked API tokens, private keys, and high-risk API invocations:
python3 ./skills/security-audit/scripts/secret_scanner.py [optional_path_to_scan]The scanner checks for AWS/GCP tokens, private keys, hardcoded passwords, and risky calls (eval, exec, unescaped raw queries).
Phase 2: OWASP Top 10 Codebase Audit
Review critical components against the security checklist:
- A01: Broken Access Control: Verify object-level permissions (IDOR protection) on every protected route.
- A02: Cryptographic Failures: Ensure secure algorithms (AES-GCM, Argon2/bcrypt), strong TLS, and zero hardcoded keys.
- A03: Injection: Verify parameterized queries (SQL, NoSQL, ORM) and safe subprocess execution (avoiding
shell=True). - A05: Security Misconfiguration: Check default credentials, permissive CORS headers, and overly verbose stack trace exposures.
- A07: Identification and Authentication Failures: Check session expiration, brute force protections, and secure cookie attributes (
HttpOnly,Secure,SameSite).
Phase 3: Vulnerability Reporting & Remediation
For every security vulnerability found, produce a formal finding report:
### [SEV] Vulnerability Title
- **Severity**: CRITICAL | HIGH | MEDIUM | LOW
- **CWE / OWASP**: (e.g. CWE-89 / OWASP A03:2021-Injection)
- **Location**: `path/to/file.py:42`
- **Exploit Scenario**: Concrete example of how an attacker could leverage the flaw.
- **Remediation**: Corrected, secure drop-in code block.Usage
Commands & Automation Scripts
# Scan whole workspace or a specific target directory for leaked secrets
python3 ./skills/security-audit/scripts/secret_scanner.py .
python3 ./skills/security-audit/scripts/secret_scanner.py src/Example Prompts
- "Run a security audit on our user authentication controller for OWASP Top 10 issues."
- "Scan this repository for hardcoded secrets, private tokens, or credential leaks."
- "Audit this payment webhook handler for replay attacks, signature verification, and injection vulnerabilities."
Host Execution Instructions
- Claude Code: Run
secret_scanner.pyvia bash, then audit diffs manually against the OWASP checklist. - Antigravity: Launch security audits before merging code changes or declaring a feature release-ready.
Red Flags
- Hardcoded passwords, API keys, JWT secrets, or private keys committed to the repository.
- String concatenation or f-strings used to assemble SQL queries or shell commands.
- Catching exceptions silently without logging security-relevant failures (auditing blind spots).
- Running subprocesses with
shell=Trueusing untrusted inputs. - Storing passwords with reversible encryption or weak hashing (MD5, SHA1, plain SHA256 without salt).
Verification
- Secret scanner executes cleanly with zero leaked credentials detected:
python3 ./skills/security-audit/scripts/secret_scanner.py . - Zero unparameterized SQL queries or shell injection hazards exist.
- Authentication and authorization checks verified on all external endpoints.
- All reported vulnerabilities contain concrete exploit scenarios and verified remediation code.
References
For detailed vulnerability patterns and verification checklists:
- Security Audit & OWASP Checklist
Other versions195 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 195
- 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.3ksame name
- mono/SkiaSharp★ 5.6ksame name
- MaxMiksa/Auto-Company★ 3.2ksame name
185 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.
Used alongsideProjects 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
- +8 more from lilangMax
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adversarial-challengerSkill
- agent-metricsSkill
- bigquery-query-optimizationSkill
- blackbox-testerSkill
- build-and-ci-gatesSkill
- cdc-scd-patternsSkill
- code-criticSkill
- code-implementerSkill
- code-smells-expertSkill
- commit-expertSkill
- compliance-verifierSkill
- context-captureSkill
- context-restoreSkill
- database-migration-expertSkill
- design-spec-expertSkill
- documentation-expertSkill
- flutter-architecture-decisionsSkill
- flutter-performance-profilingSkill
- flutter-release-engineeringSkill
- flutter-review-checklistSkill
- flutter-senior-orchestrationSkill
- flutter-test-strategySkill
- flutter-upgrade-migrationSkill
- gcp-data-engineeringSkill
- guidelines-karpathySkill
- loop-engineeringSkill
- performance-scalabilitySkill
- product-analystSkill
- pull-request-expertSkill
- python-expertSkill
- qa-testerSkill
- refactoring-code-expertSkill
- repo-researchSkill
- senior-architect-engineeringSkill
- senior-dev-orchestratorSkill
- sql-query-optimizationSkill
- test-driven-developmentSkill
- testing-expertSkill
- ui-ux-designerSkill
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.

