owasp-security
Skill5 starsChanged 5 months agoMITView on GitHub
Review code being written or modified against the OWASP Top 10:2025 and ASVS secure-coding requirements, in any language or stack, catching vulnerability classes before they ship. Use when writing auth logic, handling user input, adding API endpoints, choosing cryptography, processing uploads, or touching any trust boundary. Complements secret-scan and dependency-audit with line-level review.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- agamm/claude-code-owasptheir own version, first seen Sep 25, 2026
- FilippoDeSilva/skillstheir own version, first seen Jun 26, 2026
- muhfauziazhar/code-auditortheir own version, first seen Jun 11, 2026
- georgekhananaev/claude-skills-vaulttheir own version, first seen May 25, 2026
- drafael/coding-harnesstheir own version, first seen Apr 28, 2026
- web-werkstatt/claude-code-workflowtheir own version, first seen Apr 28, 2026
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- agamm/claude-code-owasp★ 376same name
- hoodini/ai-agents-skills★ 281same name
- georgekhananaev/claude-skills-vault★ 28same name
- zebbern/termstack★ 4same name
- FilippoDeSilva/skills★ 2same name
- Makiya1202/ai-agents-skills★ 2same name
- drafael/coding-harness★ 1same name
- mmondora/claude-skills★ 1same name
- Bbk-man/claude-code-owasp★ 0same name
- MasahiroSakoda/skills★ 0same name
3 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 repository89 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- site/llms-full.txtllms.txt
- site/llms.txtllms.txt
- improveSkill
- academic-writingSkill
- benchmark-reportingSkill
- bibtex-managerSkill
- citation-graphSkill
- citation-verifierSkill
- design-science-methodologySkill
- docx-thesisSkill
- experiment-reproducibilitySkill
- latex-toolkitSkill
- literature-searchSkill
- lit-review-synthesisSkill
- paper-readerSkill
- proofread-academicSkill
- research-figuresSkill
- research-methodologySkill
- research-questionSkill
- statistics-advisorSkill
- supervisor-updateSkill
- systematic-reviewSkill
- thesis-proposalSkill
- coolify-image-appSkill
- coolify-vps-baselineSkill
- deploy-verificationSkill
- express-prisma-coolify-imageSkill
- ghcr-coolify-pipelineSkill
- live-domain-cutoverSkill
- nextjs-coolify-imageSkill
- proxy-client-addressSkill
- vps-ops-toolkitSkill
- adr-writingSkill
- openapi-specSkill
- readme-writingSkill
- technical-writingSkill
- adversarial-reviewerSkill
- api-design-reviewSkill
- code-review-responseSkill
- create-agentSkill
- create-commandSkill
- create-hookSkill
- create-skillSkill
- db-migration-safetySkill
- dependency-upgradeSkill
- dockerfile-best-practicesSkill
- error-handling-patternsSkill
- executing-plansSkill
- explain-codebaseSkill
- fix-ciSkill
- github-actions-pipelineSkill
- grill-with-docsSkill
- incident-postmortemSkill
- logging-and-observabilitySkill
- parallel-agentsSkill
- performance-optimizationSkill
- refactoring-recipesSkill
- solid-principlesSkill
- systematic-debuggingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 50
JWT security: verify the signature on every use.
- Distinctive: line 60
When a new package is added:
- Distinctive: line 71
If a class was checked and the code is clean, say so briefly.
“Common” is measured: kept by at least 6 in 10 of the 8 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
Check code against the vulnerability classes most likely to produce real incidents. This is a line-level review of code being written or changed, not a full codebase sweep. Read the changed code and its immediate context (callers, middleware, schema) before forming any finding. Report only what can be demonstrated from the code - not what might theoretically apply.
Injection (OWASP A03)
Any place where user-controlled data flows into an interpreter is a potential injection point. Check every such flow:
- SQL and NoSQL: are all parameters bound via a prepared statement or parameterized query? Any string concatenation or template literal that includes user input in a query is a finding.
- Command execution:
exec,spawn,system,popen- is any argument derived from user input? Shell metacharacters must never reach these functions from user data. - Path traversal: file system operations on paths that include user input must resolve and validate the final path against an allowed base directory.
path.join(base, userInput)is not sufficient without checking the result starts with the allowed base. - Template injection: user-controlled strings passed to template engines (Handlebars, Pug, Jinja2) must be treated as data, not templates.
- Deserialization:
eval,Function(), and deserializers that execute code (pickle,node-serialize, YAML with!!python/object) must never operate on untrusted input.
Broken Access Control (OWASP A01)
Authorization bugs are the most common critical finding in production systems:
- Ownership check: for every operation that reads or writes a resource, is there an explicit check that the authenticated principal owns or has permission to access that specific resource? Checking that the user is authenticated is not the same as checking that they own this record.
- Horizontal escalation: can a user substitute another user's ID in a request parameter and access their data? The server must validate ownership, not trust the ID from the client.
- Vertical escalation: are admin-only endpoints protected by a role check in addition to authentication? Is the role check done server-side?
- Forced browsing: are there endpoints that are "hidden" rather than protected? Any endpoint without explicit auth middleware is a finding.
- Client-side-only enforcement: any access control that can be bypassed by modifying the request (hidden form fields, JavaScript checks, front-end routing guards) must have a server-side counterpart.
Cryptographic Failures (OWASP A02)
- Password storage: passwords must be hashed with bcrypt, argon2, or scrypt with an appropriate work factor. MD5, SHA-1, SHA-256, and SHA-512 are not password hashes - they are message digest functions and are not acceptable.
- Token comparison: any comparison involving a secret, MAC, or session token must use a constant-time equality function to prevent timing attacks.
===is not constant-time. - Randomness: security-sensitive tokens (session IDs, CSRF tokens, reset tokens, API keys) must be generated with a cryptographically secure random source, not
Math.random()orrandom.random(). - Key hardcoding: cryptographic keys and secrets must not appear in source code. Use environment variables or a secrets manager.
- Algorithm choices: AES-ECB, MD5-based MACs, RC4, and DES are broken. Use AES-GCM, HMAC-SHA-256, or established higher-level libraries.
- Certificate validation: TLS certificate validation must not be disabled in HTTP clients (
rejectUnauthorized: false,verify=False,InsecureSkipVerify). Production code that disables this is a finding regardless of the stated reason.
Security Misconfiguration (OWASP A05)
- CORS:
Access-Control-Allow-Origin: *must not be set on endpoints that require authentication or return sensitive data. Reflect the request'sOriginheader only if it is on an explicit allowlist. - Security headers: new HTTP endpoints should set
Content-Security-Policy,Strict-Transport-Security,X-Content-Type-Options: nosniff, andX-Frame-Options: DENY(or use a framework that does this by default). Flag endpoints that strip or override these. - Verbose errors: stack traces, SQL queries, and internal paths must not appear in API responses or rendered pages. Production error handlers must return a generic message and log the detail internally.
- Debug flags: any configuration that enables debug mode, disables authentication, or logs credentials must be confirmed as unreachable in production paths.
Identification and Authentication Failures (OWASP A07)
- Brute-force protection: login, password reset, and OTP endpoints must have rate limiting. No rate limit is a finding.
- Account enumeration: authentication endpoints that respond differently for "user not found" vs "wrong password" allow username enumeration. Responses and timing should be identical for both cases.
- Session fixation: session tokens must be regenerated on authentication. Reusing a pre-authentication session ID after login is a finding.
- JWT security: verify the signature on every use. Pin the allowed algorithms (
{ algorithms: ['RS256'] }). Reject tokens withalg: none. Enforce expiry.
Sensitive Data Handling
- Logging: passwords, full credit card numbers, SSNs, session tokens, and API keys must not appear in log lines - even at debug level.
- Responses: error messages and API responses must not expose internal identifiers, user data belonging to other users, or stack traces.
- Storage: any PII or credentials written to disk, a database, or a cache must be encrypted at rest or stored in a form where a database dump does not directly expose the data.
Dependencies (OWASP A06)
When a new package is added:
- Is it necessary? Could the same thing be done with standard library or existing dependencies?
- Is it maintained? Check the last release date and open security issues.
- Does
npm audit/pip-audit/cargo auditflag it? - Does its install script execute code (
preinstall,postinstallin package.json)? Scrutinize any package that runs code on install.
Reporting
For each finding: file and line, the vulnerability class, the concrete attack path (what an adversary inputs and what they gain), and the specific fix. Do not report theoretical issues - only ones supported by what the code actually does.
If a class was checked and the code is clean, say so briefly. A clean result from a systematic check is as useful as a finding.
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.

