security-review
Skill0 starsChanged 5 months agoApache-2.0View on GitHub
Review code and designs for security vulnerabilities — injection,
- Reads credentials
187 other projects use a version of this.
Adopted by
Most recently taken up by
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Lukk17/agent-standardstheir own version, first seen Oct 5, 2026
- CaseyLabs/kc-secure-repo-templatetheir own version, first seen Oct 4, 2026
- HMBSbige/skillstheir own version, first seen Oct 3, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- hahuyhungdev/ai-coding-configtheir own version, first seen Oct 2, 2026
Used with
Projects with it also use kotlin-testing, configure-ecc 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.
tpavanipradeepSkillkotlin-testing
Kotlin testing patterns with Kotest, MockK, coroutine testing, property-based testing, and Kover coverage. Follows TDD methodology with idiomatic Kotlin practices.
Also in 6 projects that use this
saxon-ySkillconfigure-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 12 projects that use this
InfopibeSkillcontent-hash-cache-pattern
Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.
Also in 12 projects that use this
InfopibeSkillralphinho-rfc-pipeline
RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.
Also in 10 projects that use this
mryeastcodeSkillpytorch-patterns
PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.
Also in 9 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 5 projects that use this
Other versions187 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 187
- github/awesome-copilot★ 40ksame name
- WorldFlowAI/everything-claude-code★ 4ksame name
- compozy/compozy★ 2.8ksame name
- getsentry/sentry-python★ 2.2ksame name
- xu-xiang/everything-claude-code-zh★ 2ksame name
- codeaholicguy/ai-devkit★ 1.6ksame name
- getsentry/skills★ 1ksame name
- microsoft/power-platform-skills★ 961same name
- thesongzhu/Friday★ 837same name
- ktnyt/cclsp★ 675same name
177 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 repository128 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-implementationSkill
- accessibility-reviewSkill
- api-changelogSkill
- api-designSkill
- auth-designSkill
- caching-strategiesSkill
- chaos-experiment-designSkill
- ci-cd-pipelinesSkill
- cli-designSkill
- cloudformation-reviewSkill
- codebase-orientationSkill
- code-commentsSkill
- code-reviewSkill
- commit-messagesSkill
- container-reviewSkill
- database-indexingSkill
- database-migrationsSkill
- debuggingSkill
- dependency-upgradesSkill
- design-system-contributionSkill
- design-tokensSkill
- desktop-releaseSkill
- error-handlingSkill
- feature-flagsSkill
- finops-reviewSkill
- frontend-performanceSkill
- git-conflict-resolutionSkill
- graphql-schema-designSkill
- helm-chart-scaffoldingSkill
- i18n-reviewSkill
- kubernetes-reviewSkill
- load-test-planningSkill
- logging-observabilitySkill
- message-queue-designSkill
- migration-playbooksSkill
- mobile-releaseSkill
- multi-region-active-activeSkill
- observability-alertsSkill
- openapi-spec-designSkill
- partner-api-integrationSkill
- performance-reviewSkill
- pr-descriptionsSkill
- prompt-injection-hardeningSkill
- pulumi-reviewSkill
- rate-limitingSkill
- refactor-planningSkill
- secrets-managementSkill
- sql-query-reviewSkill
- terraform-reviewSkill
- test-generationSkill
- threat-modelingSkill
- webhook-designSkill
- websocket-designSkill
- ab-test-analysisSkill
- anomaly-detectionSkill
- cost-anomaly-investigationSkill
- csv-analysisSkill
- data-cleaningSkill
- data-contract-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 165 edited versions we read keep these.
6
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 45
Check authn (identity) separately from authz (permission on *this* object).
- Distinctive: line 90
Every finding needs an abuse path or an honest "theoretical if X".
- Distinctive: line 92
Do not invent framework behavior you cannot see.
- Distinctive: line 94
Prefer the smallest correct fix over a multi-month rewrite.
- Very specific: line 97
Never request or generate real secrets.
- Distinctive: line 98
If the code is solid, say so and list what you checked — empty critical/high is a valid result.
- Very specific: line 101
When the user wants an OWASP-style coverage map or a full audit checklist, read references/owasp-top10.md and map findings to categories …
- Distinctive: line 113
Near-miss with code-review skill: if they want general quality review, still focus on security.
“Common” is measured: kept by at least 6 in 10 of the 165 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
Find exploitable issues and missing controls. Prefer concrete abuse paths over generic security advice. Severity is about impact and exploitability, not how impressive the finding sounds.
Review order
Tag every finding:
- [critical] — remote code execution, auth bypass, secret leakage to untrusted parties, unrestricted data destruction, or payment fraud.
- [high] — privilege escalation, injection with realistic input path, SSRF to internal networks, IDOR on sensitive records, broken crypto in production paths.
- [medium] — missing rate limits on auth/sensitive actions, weak session flags, overly broad CORS, information disclosure that aids further attacks.
- [low] — defense-in-depth gaps, missing security headers, logging of mildly sensitive fields, incomplete hardening.
Workflow
- Identify trust boundaries: who is untrusted (browser, mobile, third party, other tenants) and what assets matter (accounts, money, PII, secrets).
- Map entry points: HTTP handlers, jobs, webhooks, file parsers, admin tools, SQL/ORM queries, template renders, shell invocations.
- For each entry point, ask what happens with hostile input, a stolen session, or a confused deputy (the server calling an attacker-controlled URL).
- Check authn (identity) separately from authz (permission on this object).
- Summarize residual risk and the minimum fixes to ship safely.
Checklist (always cover what applies)
- Injection: SQL/NoSQL/OS/LDAP/template; prefer parameterized APIs and avoid string-built queries or shell commands with user data.
- Authn: password storage (argon2/bcrypt, not plaintext/MD5), MFA paths,
session fixation, cookie flags (
HttpOnly,Secure,SameSite). - Authz: object-level checks (IDOR), role checks on every mutating route, tenant isolation in multi-tenant data.
- Secrets: hardcoded keys/tokens, secrets in logs/errors/URLs, long-lived
tokens without rotation, committed
.envpatterns. - Crypto: custom crypto, ECB, hardcoded IVs, non-constant-time compares on tokens, weak random for security decisions.
- SSRF / redirects: user-controlled URLs fetched server-side; open redirects.
- Uploads / files: type sniffing only via magic bytes + size limits + no executable paths; path traversal on download.
- Deserialization / XML / YAML: unsafe loaders, XXE, gadget chains.
- Dependencies: known-vulnerable patterns only when versions are visible; never invent CVEs.
Output format
## Security review: <one-line target>
**Scope:** what was reviewed (files/endpoints/design)
**Assumptions:** language, framework, deployment notes you inferred
### Findings
1. [critical] `path:line` — <issue>
- **Abuse path:** how an attacker exploits it
- **Impact:** what is lost or gained
- **Fix:** concrete change (code or config)
### Residual risk
What remains after the listed fixes, or what you could not verify.
### Ship verdict
**do not ship** | **ship with fixes** | **acceptable risk** — one sentence why.Rules
- Every finding needs an abuse path or an honest "theoretical if X". No bare "consider adding validation".
- Do not invent framework behavior you cannot see. Say "if this route is public, …".
- Prefer the smallest correct fix over a multi-month rewrite.
- Separate product bugs from security bugs; only security findings get severity tags above.
- Never request or generate real secrets; use placeholders like
REDACTED. - If the code is solid, say so and list what you checked — empty critical/high is a valid result.
When the user wants an OWASP-style coverage map or a full audit checklist,
read references/owasp-top10.md and map findings to categories that apply.
Edge cases
- Design-only / no code: produce a short abuse-path list (assets, actors,
entry points, top 5 controls). For a full STRIDE system model, point at
threat-modeling. - Huge surface: prioritize auth, multi-tenancy, money movement, and file/ URL handling first; offer a second pass for the rest.
- User asks "is this secure?": answer with residual risk, not a yes/no absolution. Absolute security claims are never appropriate.
- Near-miss with code-review skill: if they want general quality review, still focus on security; mention non-security bugs only if they enable exploitation.
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.

