security-audit
Skill2 starsChanged 5 months agoMITView on GitHub
Use when auditing code for security vulnerabilities: OWASP Top 10 checks, secret scanning, dependency audits, SQL injection, XSS, CSRF, authentication flaws, insecure deserialization. Works with any stack.
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 repository7 other files it gives its agents.
- code-reviewSkill
- dotnet-expertSkill
- git-flowSkill
- go-expertSkill
- tailwind-uiSkill
- tddSkill
- typescript-astroSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 118 edited versions we read keep these.
1
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 79
Look for these patterns that indicate hardcoded secrets:
“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
When to Use
Activate this skill when the user:
- Asks for a security review of code
- Wants to check for OWASP Top 10 vulnerabilities
- Needs to audit authentication/authorization logic
- Asks "is this code secure?"
- Wants to scan for hardcoded secrets
OWASP Top 10 Checklist
A01: Broken Access Control
- All endpoints require appropriate authentication
- Authorization checked on every request (not just login)
- User can only access their own resources (IDOR check)
- Admin functions protected from regular users
A02: Cryptographic Failures
- No sensitive data in URLs or logs
- Passwords hashed with bcrypt/Argon2/PBKDF2 (not MD5/SHA1)
- TLS enforced for all connections
- No hardcoded encryption keys
A03: Injection
- SQL uses parameterized queries / ORM
- No string concatenation in SQL, shell commands, LDAP
- User input sanitized before use in templates
- NoSQL queries use safe operators
A04: Insecure Design
- Threat modeling done for critical flows
- Rate limiting on authentication endpoints
- Account lockout after failed attempts
A05: Security Misconfiguration
- Debug mode disabled in production
- Default credentials changed
- Unnecessary features/endpoints disabled
- Error messages don't expose stack traces
A06: Vulnerable Components
# Run dependency audit
npm audit # Node.js
dotnet list package --vulnerable # .NET
go list -json -m all | nancy # GoA07: Identification & Authentication Failures
- Session tokens are random and sufficiently long
- Sessions invalidated on logout
- MFA available for sensitive operations
- Password reset flow is secure (no enumeration)
A09: Security Logging Failures
- Authentication events are logged
- Authorization failures are logged
- Logs don't contain passwords or tokens
- Logs are centralized and protected
A10: SSRF
- User-supplied URLs validated against allowlist
- No fetching from internal network based on user input
Secret Scanning Patterns
Look for these patterns that indicate hardcoded secrets:
# API Keys
(api[_-]?key|apikey)\s*[=:]\s*['"][a-zA-Z0-9]{16,}['"]
# Generic secrets
(secret|password|passwd|pwd)\s*[=:]\s*['"][^'"]{8,}['"]
# Connection strings with credentials
(mongodb|postgres|mysql):\/\/[^:]+:[^@]+@Language-Specific Checks
C# / ASP.NET Core
// ✅ SQL Injection safe
await context.Users
.Where(u => u.Email == email) // EF Core parameterizes automatically
.FirstOrDefaultAsync();
// ✅ Password hashing
var hash = BCrypt.HashPassword(password, workFactor: 12);
// ✅ Anti-forgery tokens
[ValidateAntiForgeryToken]
[HttpPost]
public async Task<IActionResult> CreateOrder(...)Go
// ✅ SQL injection safe
row := db.QueryRowContext(ctx,
"SELECT id, name FROM users WHERE email = $1", email)
// ✅ Timing-safe comparison
if !subtle.ConstantTimeCompare([]byte(provided), []byte(stored)) {
return ErrInvalidCredentials
}TypeScript
// ✅ SQL injection safe (parameterized)
const user = await db.query(
'SELECT * FROM users WHERE email = $1', [email]
);
// ✅ XSS prevention — never use innerHTML with user data
element.textContent = userInput; // ✅ safe
element.innerHTML = userInput; // ❌ XSS riskOutput Format
## Security Audit Report
**Overall Risk:** [Low / Medium / High / Critical]
**Date:** [Date]
### 🔴 Critical Vulnerabilities
...
### 🟡 High Risk Issues
...
### 🟢 Medium Risk Issues
...
### ✅ Passed Checks
...
### Recommended Actions
1. [Priority fix 1]
2. [Priority fix 2]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.

