security-audit
Skill28 starsChanged 3 months 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.
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 repository34 other files it gives its agents.
- bigquery-query-optimizationSkill
- build-and-ci-gatesSkill
- cdc-scd-patternsSkill
- 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
The file
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 118 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 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 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
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.

