security-patterns
Skill2 starsChanged 8 days agoMITView on GitHub
Security checklist covering XSS, injection, authentication, authorization, sessions, CSRF, CSP, secrets, dependency CVEs, input validation, and severity calls. Use when writing or reviewing code that handles auth, sessions, secrets, user input, or external data, or when the user asks about security, hardening, vulnerabilities, authentication, authorization, cookies, XSS, CSRF, SQL injection, CSP, or headers, even if "security" is not mentioned by name. Not loaded just because a project has such code.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- capture0x/YeepForgetheir own version, first seen Nov 8, 2026
- CrowdStrike/foundry-skillstheir own version, first seen Oct 30, 2026
- edjchapman/claude-code-configtheir own version, first seen Oct 23, 2026
- mikulgohil/claude-skillstheir own version, first seen Oct 13, 2026
- Eyadkelleh/awesome-claude-skills-securitytheir own version, first seen Oct 8, 2026
- CloudAI-X/claude-workflowtheir own version, first seen Oct 8, 2026
Used with
Projects with it also use security-fuzzing and security-payloads.
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.
EyadkellehSkillsecurity-fuzzing
Essential fuzzing payloads: SQL injection, command injection, special characters. Curated essentials for vulnerability testing.
Also in 3 projects that use this
EyadkellehSkillsecurity-payloads
Essential exploitation payloads: anti-virus test files, file name exploits, malicious files. Curated for testing.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- CloudAI-X/claude-workflow★ 1.4ksame name
- CloudAI-X/claude-workflow-v2★ 1.4ksame name
- Eyadkelleh/awesome-claude-skills-security★ 388same name
- Eyadkelleh/awesome-skills-security★ 384same name
- CrowdStrike/foundry-skills★ 37same name
- capture0x/YeepForge★ 8same name
- edjchapman/claude-code-config★ 8same name
- mikulgohil/claude-skills★ 0same name
- terrene-foundation/pact★ 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 repository37 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- auditSkill
- backup-patternsSkill
- bash-patternsSkill
- depsSkill
- django-patternsSkill
- docker-patternsSkill
- drf-patternsSkill
- engineering-fundamentalsSkill
- fastapi-patternsSkill
- git-patternsSkill
- go-patternsSkill
- graphql-patternsSkill
- investigateSkill
- javascript-patternsSkill
- logging-patternsSkill
- referenceSkill
- metaSkill
- monitoring-patternsSkill
- next-app-router-patternsSkill
- nuxt-patternsSkill
- opentofu-patternsSkill
- prSkill
- python-patternsSkill
- react-patternsSkill
- report-formatSkill
- slop-patternsSkill
- storybook-patternsSkill
- tailwind-patternsSkill
- test-patternsSkill
- typescript-patternsSkill
- unslopSkill
- vps-provisioningSkill
- vue-patternsSkill
- wcag-auditSkill
- writeSkill
The file
Files
Security patterns
Apply the references that match the detected stack. Severity rubric below applies cross-cuttingly.
Severity rubric
failure: exploitable, or direct leak of credentials, or missing CSRF on authenticated mutating endpoint.warning: mitigated but weak (e.g. CSP present but withunsafe-inline), or pattern that will become exploitable if misused.info: hardening opportunity, not currently exploitable.
Reference files
| File | Covers |
| reference/anti-patterns.md | Cross-cutting severity-labeled anti-patterns: SQLi, XSS injection, CSRF, secrets |
| reference/frontend.md | XSS, Next.js client/server boundary, auth/sessions, JWT vs sessions, strict CSP (nonce/strict-dynamic/hash) |
| reference/backend-django.md | ORM safety, views/middleware, auth, templates, file uploads |
| reference/backend-node.md | Express/Fastify/Nest hardening, CSRF on JSON-only APIs |
| reference/dependencies.md | Lockfile audit vs OSV-Scanner, SLSA build levels |
| reference/secrets.md | Detection (gitleaks, trufflehog, push protection), rotation cadence |
References
- OWASP Top 10: https://owasp.org/www-project-top-ten/
- OWASP Cheat Sheet Series: https://cheatsheetseries.owasp.org/
- OWASP ASVS: https://owasp.org/www-project-application-security-verification-standard/
- MDN Web Security: https://developer.mozilla.org/en-US/docs/Web/Security
- MDN CSP: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
- WHATWG Fetch (CORS): https://fetch.spec.whatwg.org/
Version notes
Checked: 2026-09-26 against https://slsa.dev/spec/v1.2/build-track-basics, https://docs.djangoproject.com/en/stable/ref/csp/, https://docs.npmjs.com/cli/v12/commands/npm-audit
- SLSA 1.2: current spec; 1.0 retired. Build track is L0 (no requirements) through L3.
- Django 6.0: built-in CSP middleware (
SECURE_CSP,csp_nonce); 6.1 adds the{% csp_nonce_attr %}tag. - npm 12 (12.1.0): current CLI docs; v10 and v11 docs marked Legacy.
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.

