auditing-security
Skill2 starsChanged 6 months agoMITView on GitHub
Perform a systematic security audit of a codebase, checking for OWASP Top 10 vulnerabilities, secrets exposure, and insecure patterns. Use when the user says "/auditing-security", "auditing security", or asks about auditing security.
- Reads credentials
We split this skill into the rules it gives an agent
18 rules. 0 are common, 12 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user asks to audit security, check for vulnerabilities, review code for security issues, or harden an application.
- Distinctive: line 19
Verify all API routes check authentication before processing.
- Distinctive: line 20
Ensure role-based access control is enforced server-side, not just in the UI.
- Distinctive: line 21
Check that password hashing uses bcrypt/argon2 (not MD5/SHA1).
- Distinctive: line 22
Verify session tokens are HTTP-only, secure, and have reasonable expiry.
- Distinctive: line 25
SQL injection: look for string concatenation in SQL queries instead of parameterized queries.
- Very specific: line 26
XSS: look for dangerouslySetInnerHTML, innerHTML, or unescaped user input rendered in templates.
- Very specific: line 27
Command injection: look for exec(), eval(), child_process.exec() with user input.
- Distinctive: line 28
Path traversal: check file operations for unsanitized user input in paths.
- Very specific: line 31
Run npm audit or pip audit to check for known vulnerabilities.
- Distinctive: line 33
Check for overly permissive dependency ranges.
- Very specific: line 36
Verify CORS doesn't use Access-Control-Allow-Origin: * in production.
- Distinctive: line 37
Check for Content Security Policy headers.
- Very specific: line 38
Verify X-Frame-Options, X-Content-Type-Options, and Strict-Transport-Security headers.
- Distinctive: line 41
Check API responses for leaking sensitive fields (password hashes, internal IDs, PII).
- Distinctive: line 42
Verify error messages don't expose stack traces or internal details in production.
- Distinctive: line 43
Check logging for sensitive data being written to logs.
- Very specific: line 50
Always check .gitignore to ensure .env, credentials, and key files are excluded.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Use this skill when the user asks to audit security, check for vulnerabilities, review code for security issues, or harden an application.
Steps
- Scan for hardcoded secrets — search for API keys, tokens, passwords, and connection strings in source files. Check for patterns like:
password=,secret=,token=,api_key=- Base64-encoded credentials
- AWS keys (
AKIA...), Stripe keys (sk_live_...), GitHub tokens (ghp_...) - Files:
.envcommitted to git,config.jsonwith credentials
- Check authentication & authorization
- Verify all API routes check authentication before processing.
- Ensure role-based access control is enforced server-side, not just in the UI.
- Check that password hashing uses bcrypt/argon2 (not MD5/SHA1).
- Verify session tokens are HTTP-only, secure, and have reasonable expiry.
- Check for injection vulnerabilities
- SQL injection: look for string concatenation in SQL queries instead of parameterized queries.
- XSS: look for
dangerouslySetInnerHTML,innerHTML, or unescaped user input rendered in templates. - Command injection: look for
exec(),eval(),child_process.exec()with user input. - Path traversal: check file operations for unsanitized user input in paths.
- Review dependency security
- Run
npm auditorpip auditto check for known vulnerabilities. - Flag outdated dependencies with known CVEs.
- Check for overly permissive dependency ranges.
- Run
- Check CORS and CSP configuration
- Verify CORS doesn't use
Access-Control-Allow-Origin: *in production. - Check for Content Security Policy headers.
- Verify
X-Frame-Options,X-Content-Type-Options, andStrict-Transport-Securityheaders.
- Verify CORS doesn't use
- Review data exposure
- Check API responses for leaking sensitive fields (password hashes, internal IDs, PII).
- Verify error messages don't expose stack traces or internal details in production.
- Check logging for sensitive data being written to logs.
- Generate report — produce a summary with severity ratings (Critical / High / Medium / Low) for each finding, with the file path, line number, and recommended fix.
Notes
- This is a code review, not a penetration test. Recommend tools like
npm audit,trivy, orsnykfor automated scanning. - Always check
.gitignoreto ensure.env, credentials, and key files are excluded. - For comprehensive auditing, recommend the OWASP Testing Guide.
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- ZeroTokenClaw/agents-skills★ 199% same
- matarpeles/skills-registry-demo★ 099% same
Wrote their own version · 2
- mykaarma/kaarma-skills★ 4same name
- cdliai/cdli-agent-skills★ 0same name
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 repository85 other files it gives its agents.
- accessibility-auditingSkill
- adding-analyticsSkill
- adding-api-docsSkill
- adding-authSkill
- adding-dockerSkill
- adding-e2e-testsSkill
- adding-error-trackingSkill
- adding-feature-flagsSkill
- adding-stripeSkill
- api-smoke-testingSkill
- architecture-decision-recordsSkill
- auditing-performanceSkill
- auto-type-checkingSkill
- babysitting-prSkill
- best-of-n-solvingSkill
- building-skills-from-patternsSkill
- cavemanSkill
- codebase-onboardingSkill
- comparing-branches-visuallySkill
- converting-css-modules-to-tailwindSkill
- converting-css-to-tailwindSkill
- creating-prSkill
- dark-mode-testingSkill
- database-designSkill
- design-an-interfaceSkill
- detecting-port-conflictsSkill
- domain-modelSkill
- edit-articleSkill
- exporting-to-pngSkill
- finding-dev-server-urlSkill
- fixing-broken-linksSkill
- form-testingSkill
- generating-imagesSkill
- git-guardrails-claude-codeSkill
- github-triageSkill
- grill-meSkill
- grinding-until-passSkill
- improve-codebase-architectureSkill
- incident-responseSkill
- kubernetes-deployingSkill
- migrate-to-shoehornSkill
- monitoring-terminal-errorsSkill
- network-request-auditingSkill
- obsidian-vaultSkill
- parallel-ci-triageSkill
- parallel-code-reviewSkill
- parallel-exploringSkill
- parallel-test-fixingSkill
- profiling-performanceSkill
- prompt-engineeringSkill
- python-tdd-with-uvSkill
- qaSkill
- react-native-patternsSkill
- recording-browser-flow-as-testSkill
- request-refactor-planSkill
- responsive-testingSkill
- reviewing-codeSkill
- saving-workspace-contextSkill
- scaffold-exercisesSkill
- screenshotting-changelogSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

