audit-security
Skill1 starsChanged 5 months agoMITView on GitHub
Security analysis for source code: OWASP Top 10:2025, injection, access control, supply chain, crypto failures, insecure deserialization. Returns severity-classified findings. Does not modify files.
- Reads credentials
16 other projects use a version of this.
Adopted by
Most recently taken up by
- tounsils/claude-code-skillstheir own version, first seen Oct 25, 2026
- VelimirMueller/ai-development-skillstheir own version, first seen Oct 25, 2026
- ChariereFiedler/ronce-racinetheir own version, first seen Oct 22, 2026
- krixon/skillstheir own version, first seen Oct 11, 2026
- VelimirMueller/claude-skillstheir own version, first seen Oct 11, 2026
- JoseArron/skillstheir own version, first seen Oct 11, 2026
Used with
Projects with it also use retro, implement and 2 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.
AWSSkillretro
Conduct a retrospective on a coding session.
Also in 4 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- ChariereFiedler/ronce-racine★ 9same name
- kensaurus/cursor-kenji★ 9same name
- kensaurus/skills★ 9same name
- VelimirMueller/ai-development-skills★ 7same name
- VelimirMueller/claude-skills★ 7same name
- VoxTechnologies/transmute-framework★ 5same name
- daanvandenbergh/claudekit★ 2same name
- engineering-workshops/react-alicante-agentic-workflow★ 2same name
- jasonmichaelbell78-creator/sonash-v0★ 2same name
- JoseArron/skills★ 2same name
6 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 repository26 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit-legalSkill
- echartsSkill
- explainSkill
- file-changelogSkill
- file-claudeSkill
- file-licenseSkill
- file-projectSkill
- file-readmeSkill
- frontendSkill
- hooksSkill
- lean-reviewSkill
- loopSkill
- masterpromptSkill
- mcpSkill
- mermaidSkill
- new-projectSkill
- outputstyleSkill
- proofreadSkill
- rulesSkill
- settingsSkill
- skillsSkill
- sotaSkill
- subagentsSkill
- tasksSkill
- toonSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
4
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 21
Before a public launch or before handling real user data
- Distinctive: line 22
After adding new auth, payment, file handling, or external API integration code
- Distinctive: line 26
Never modify source files.
- Very specific: line 29
Check configuration files, .env.example, package.json, requirements.txt, Cargo.toml, and CI/CD definitions — not only source files.
- Very specific: line 31
Always check for hardcoded credentials even if check-credentials hook is active — the hook prevents future writes.
- Distinctive: line 123
Read all in-scope source files.
“Common” is measured: kept by at least 6 in 10 of the 15 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
Audit — Security
1§ Purpose
Identify security vulnerabilities in source code, configuration files, and dependency manifests. Covers all 10 OWASP Top 10:2025 categories, credential exposure, insecure deserialization, supply chain risks, and security logging gaps. Returns a severity-classified findings table.
Scope boundary: security vulnerabilities only — the adversarial lens.
General code quality, waste, and artifact review are out of scope — this skill is the adversarial security lens only.
Runtime credential prevention → check-credentials hook (already active).
2§ Use when
- User asks for a security audit, OWASP scan, or vulnerability check
- Before a public launch or before handling real user data
- After adding new auth, payment, file handling, or external API integration code
- User says "is this secure?", "check for vulnerabilities", "security review"
3§ Hard constraints
- Never modify source files. Analysis only. Fixes go through the main session.
- Report specific locations: file + line number. Never say "the auth module is weak" without a specific location.
- Check configuration files,
.env.example,package.json,requirements.txt,Cargo.toml, and CI/CD definitions — not only source files. - Always check for hardcoded credentials even if
check-credentialshook is active — the hook prevents future writes; this audit catches what already exists. - Distinguish confirmed findings from suspected ones in the output.
- False-positive discipline: do not flag parameterized queries, intentional non-sensitive
logging,
yaml.safe_load(), or mock credentials in test fixtures as vulnerabilities.
4§ OWASP Top 10:2025 coverage
Reference: OWASP Top 10:2025 Apply all relevant dimensions. Skip dimensions with no applicable code in scope.
A01 Broken Access Control — missing authorization checks on routes or endpoints; insecure direct object references (sequential or guessable IDs); path traversal in file operations; CORS misconfiguration; horizontal privilege escalation (user A accessing user B's resource); force-browsing to privileged pages.
A02 Security Misconfiguration — debug mode or verbose errors enabled in production paths; default credentials not changed; directory listing enabled; unnecessary exposed endpoints; missing security headers (CSP, HSTS, X-Frame-Options, X-Content-Type-Options); overly permissive IAM or cloud service roles; publicly exposed cloud storage (S3 buckets, blobs).
A03 Software Supply Chain Failures — dependency manifests (package.json, requirements.txt,
Cargo.toml, pom.xml): flag packages at major versions known for CVEs; missing lock
files; wildcard version ranges (*, ^latest, >=x); unverified build scripts or
unsafe npm/pip lifecycle hooks; CI/CD pipelines that execute untrusted code on pull
requests; missing SBOM or dependency review step.
A04 Cryptographic Failures — hardcoded API keys, passwords, tokens, or private keys; weak or deprecated algorithms (MD5/SHA-1 for passwords, DES, 3DES, RC4); AES-ECB mode (no semantic security); HTTP where HTTPS is required; weak key derivation (single hash without salt or iterations); predictable IVs or nonces; sensitive data (PII, tokens) stored unencrypted.
A05 Injection — SQL built by string concatenation or f-string interpolation; command
injection via system(), exec(), subprocess shell=True with user input; template
injection; LDAP/XPath injection; eval() or Function() on user-controlled strings;
second-order injection (stored input later used in a query without re-sanitization).
A06 Insecure Design — absence of rate limiting on auth, password reset, or sensitive endpoints; missing input validation at trust boundaries (service-to-service calls treated as trusted without verification); business logic flaws (negative quantities, skipped workflow steps, replay attacks on one-time tokens); single security control as sole defense (failure = full bypass).
A07 Authentication Failures — missing MFA on admin or sensitive routes; session tokens
in URLs or logs; no token expiry or rotation on privilege change; weak JWT validation
(alg:none, missing signature check, insufficient claims validation); session fixation;
passwords hashed with MD5, SHA-1, or SHA-256 without a slow KDF; random module instead
of secrets (Python) or SecureRandom (Java) for token generation.
A08 Software and Data Integrity Failures — insecure deserialization: pickle.loads() or
pickle.load() on untrusted input; Java ObjectInputStream.readObject() without class
filter (ObjectInputFilter); yaml.load() without Loader=yaml.SafeLoader; unmarshaling
of user-supplied data into privileged objects; auto-update or plugin loading without
cryptographic integrity check; unsigned or unreviewed CI/CD pipeline changes.
A09 Security Logging and Alerting Failures — no logging of authentication events (login, logout, repeated failed attempts); sensitive data (passwords, tokens, PII, card numbers) in log entries; missing audit trail for privilege changes or sensitive data access; log injection (unsanitized user data written to log lines); no alerting or escalation path for security events; logs not retained or accessible for incident response.
A10 Mishandling of Exceptional Conditions — unvalidated user-controlled URLs passed to HTTP clients (SSRF — Server-Side Request Forgery); open redirect vulnerabilities (user controls redirect target without validation); DNS rebinding exposure in calls to internal services; exception messages exposing internal paths, stack traces, or credentials to users; silent exception swallowing that masks security events.
5§ Additional checks
Apply in addition to OWASP dimensions when relevant to the scope.
Credential exposure (entropy-based) — strings with vendor key prefixes (sk-ant-,
ghp_, AKIA) or high-entropy alphanumeric values in source or config; JWT tokens
(eyJ...) as constants; PEM private keys embedded in code; .env.example containing
real values instead of placeholders.
Client-side exposure (Web) — secrets or internal paths reflected in HTML/JS output;
sensitive data in localStorage or sessionStorage without encryption; innerHTML
assignments with user-controlled content; dangerouslySetInnerHTML without explicit
sanitization; missing Content-Security-Policy headers.
Unsafe reflection — Class.forName(userInput) without allowlist; dynamic method
invocation from user-supplied method names; classpath manipulation from user input;
Ruby constantize or Python importlib.import_module on user-controlled strings.
6§ Severity levels
critical— exploitable in production with significant impact (RCE, auth bypass, mass data exfiltration)major— exploitable with preconditions, or significant data exposure with a realistic attack pathminor— security weakness that reduces defense-in-depth but is not directly exploitableinfo— observation or configuration note with no immediate impact
7§ Workflow
- Identify scope — ask if not clear: specific files, directory, or entire codebase.
- Read all in-scope source files. Also read:
- Dependency manifests (
package.json,requirements.txt,pyproject.toml, etc.) - Environment config templates (
.env.example,config/) - Route definitions and middleware
- CI/CD pipeline definitions (
.github/workflows/,Jenkinsfile,*.yamlunder.github/)
- Dependency manifests (
- Apply A01→A10 in order. Record each finding with OWASP category, location, and evidence.
- Apply §5 additional checks.
- Group by severity: critical → major → minor → info.
- Deliver findings. State scope covered, count per severity, and the single highest-priority action.
- For each critical/major finding: state whether a direct fix can be suggested or manual review is needed.
8§ Output contract
Must include:
- Scope statement (files, config, dependencies, and OWASP dimensions covered)
- Findings table: OWASP 2025 dimension | severity | location | description | recommendation
- Summary: count per severity, single highest-priority action
Must not include:
- File modifications
- Findings without a specific location
criticalseverity for theoretical vulnerabilities with no realistic exploit path- Duplicate entries for the same vulnerability at different locations (group and list locations)
- False positives for parameterized queries,
safe_load, or intentional non-sensitive logging
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.

