security-review
Skill0 starsChanged 5 months agoMITView on GitHub
OWASP-aligned vulnerability checklist for code touching auth, payments, user input, file I/O, or external APIs.
- Reads credentials
- Installs packages
192 other projects use a version of this.
Adopted by
Most recently taken up by
- AOSSIE-Org/Resonate-Websitetheir own version, first seen Nov 9, 2026
- dimastriann/odoo-erp-mcptheir own version, first seen Nov 8, 2026
- ksprashu/agent-skill-forgetheir own version, first seen Nov 8, 2026
- enes-alatas/spooltheir own version, first seen Nov 8, 2026
- sgaabdu4/appwrite-backendtheir own version, first seen Nov 8, 2026
- AndersonAndrad/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use linkerd-patterns, dependency-cve-sweep 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.
xfstudioSkilllinkerd-patterns
Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies, or implementing zero-trust networking with minimal overhead.
Also in 5 projects that use this
berntpoppSkilldependency-cve-sweep
Use when handling Dependabot PRs, CodeQL/Trivy alerts, or doing a routine dependency/CVE sweep for this repo.
Also in 12 projects that use this
berntpoppSkillfleet-standard-adoption
Use when bringing this repo into compliance with a GeneFoundry fleet standard (tool-naming, response-envelope, container-hardening, versioning, MCP transport, or logging) or closing its tracking issue.
Also in 12 projects that use this
HABUBUSSSkillproject-guidelines-example
Also in 16 projects that use this
niloykumarbarmanSkillagent-sort
Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.
Also in 13 projects that use this
royaluniondesign-sysSkillconfigure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Also in 11 projects that use this
- +2 more from berntpopp
Other versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 192
- affaan-m/ECC★ 246ksame name
- github/awesome-copilot★ 41ksame name
- langfuse/langfuse★ 37ksame name
- nearai/ironclaw★ 13ksame name
- joe-bell/cva★ 6.9ksame name
- doorkeeper-gem/doorkeeper★ 5.5ksame name
- github/squad★ 3.4ksame name
- compozy/compozy★ 2.9ksame name
- getsentry/sentry-python★ 2.2ksame name
- trycompai/comp★ 2.1ksame name
182 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 repository10 other files it gives its agents.
- accessibility-a11ySkill
- ask-first-promptsSkill
- business-stress-testSkill
- code-reviewSkill
- commit-conventionsSkill
- feynman-explainerSkill
- prompt-writes-promptSkill
- sparring-partnerSkill
- tdd-workflowSkill
- typescript-strictSkill
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 167 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 14
Run before merging any code that handles authentication, authorization, payments, user input, file uploads, or external integrations.
“Common” is measured: kept by at least 6 in 10 of the 167 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 Review
Run before merging any code that handles authentication, authorization, payments, user input, file uploads, or external integrations. Check every item. Flag findings as CRITICAL (block merge), HIGH (request changes), MEDIUM (note in review), or LOW (optional).
Authentication & sessions
- Passwords hashed with bcrypt / argon2 / scrypt — never SHA family alone.
- Session tokens are cryptographically random (≥128 bits) and rotate on privilege change.
- Cookies set with
HttpOnly,Secure, andSameSite=Lax(orStrictwhere it doesn't break flow). - No JWTs in
localStoragefor browser apps. UseHttpOnlycookies. - Token expiry enforced both client and server side.
- Account lockout or rate limit on login (e.g. 5 failed attempts in 10 min).
- MFA available and required for high-value operations.
Authorization
- Every endpoint that mutates state checks the caller's permission, not just authentication.
- Object-level access enforced (cannot access
/orders/:idfor another user's order). - Role-based decisions live in a single policy module, not scattered through handlers.
- No client-supplied role / permission claims trusted server-side.
Input validation
- All external input parsed via schema (zod, pydantic, etc.) at the boundary.
- Allowlist > denylist for fields, types, and enum values.
- Length limits on every string field.
- File uploads check MIME type, magic bytes, AND size.
- User-supplied URLs blocked from internal IP ranges (SSRF prevention).
Injection
- SQL uses parameterized queries / ORM bind parameters — never string concatenation.
- HTML rendering uses framework escaping. Avoid React's raw-HTML escape hatch (
dangerously*prop), Vue'sv-html, and directinnerHTMLassignment when the content includes any user data. - Shell commands built from arrays, not concatenated strings. Better: avoid
execentirely. - LDAP, XPath, NoSQL queries use the language's safe-API path.
- No
eval,Function(), or dynamicimport()of user-controlled paths.
Cross-site
- CSRF protection on every state-changing endpoint (token, double-submit cookie, or
SameSite=Strict). - CORS allowlist is explicit. Never
Access-Control-Allow-Origin: *with credentials. - Content Security Policy header set in production with nonce-based script policy.
Secrets
- No secrets in source code, comments, commit history, or test fixtures.
- Secrets read from environment variables or a secret manager.
- App fails fast at startup if a required secret is missing — never falls back to a default.
.env*files in.gitignore.- Logs scrubbed of tokens, API keys, full credit card numbers.
Cryptography
- Use a vetted library (libsodium, Web Crypto, .NET CryptographyNG). Never roll your own.
- AES-GCM or ChaCha20-Poly1305 for symmetric encryption. Never ECB or CBC without HMAC.
- HMAC comparisons use constant-time equality (
timingSafeEqual). - TLS 1.2+ only. No SSLv3, TLS 1.0, TLS 1.1.
Dependencies
npm audit/pip-audit/cargo auditrun in CI; high-severity findings block merge.- Lockfiles committed and respected (
npm ci,pnpm install --frozen-lockfile). - No packages added without a quick threat-model: who maintains it, how often updated, transitive deps.
Logging & errors
- Error messages returned to users contain no internal paths, stack traces, or DB errors.
- Detailed errors logged server-side with request ID for correlation.
- PII redacted from logs (emails, addresses, full names where unnecessary).
- Audit log for security-relevant events: login, password change, role change, data export.
File handling
- User-supplied paths sanitized — block
.., absolute paths, null bytes. - Uploaded files stored outside the web root, served via a signed URL endpoint that re-checks auth.
- Image processing uses a sandbox or vetted library (libvips, sharp). Never ImageMagick policy-default.
Output
End the review with a one-line verdict: APPROVE, REQUEST CHANGES (list CRITICAL / HIGH only), or BLOCK (CRITICAL findings — merge would expose users).
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.

