Security review
Security-focused review of a diff or codebase for high-confidence, exploitable vulnerabilities. Use when the user asks for a security review, threat check, or before shipping sensitive code. Minimizes false positives — only flags issues that are plausibly exploitable.From its SKILL.md
npx -y skills add joshiujjwal/sdlc-skills-plus --skill security-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.5 KB, as published. Nobody here has run it
Security Review
Hunt for vulnerabilities that an attacker could actually exploit. Optimize for precision over recall: a flood of theoretical findings trains people to ignore you. Only raise issues you can argue are exploitable.
Categories to check
- Injection — SQL/NoSQL, command, LDAP, template, header. Look for string-built queries/commands with untrusted input. Require parameterized queries.
- AuthN / AuthZ — missing checks, IDOR (object access without ownership check), privilege escalation, trusting client-supplied identity/roles.
- Secrets — hardcoded keys, tokens, passwords; secrets in logs or error bodies.
- Input validation — unvalidated/unsanitized input reaching a sink; path traversal; SSRF via user-controlled URLs.
- Crypto — weak/again-rolled algorithms, static IVs, predictable randomness for security, plaintext storage of credentials.
- Deserialization / parsing — unsafe deserialization, XXE, zip-slip.
- Web — XSS (unescaped output), CSRF on state-changing routes, open redirect, missing security headers.
- Data exposure — over-broad responses, PII in logs, verbose errors leaking internals. (Error responses should be valid JSON and must not leak stack traces.)
- Dependencies — known-vulnerable or unpinned packages.
- Resource / DoS — unbounded input, missing rate limits, ReDoS.
- Config — debug mode on, permissive CORS, default credentials.
Output
Per finding: severity (CRITICAL / HIGH / MEDIUM / LOW), confidence, the exact location, the exploit scenario in one sentence, and the remediation. Sort by severity. State the threat model assumptions you made.
Rules
- Only flag with a credible exploit path. Mark anything speculative as LOW + note it.
- Prefer fixes that eliminate the class (parameterize, escape-on-output, deny-by-default).
- Sanitize user input in every example fix; never hardcode secrets.
- Review only — do not modify code in this skill.
Inspired by the engineering review discipline in mattpocock/skills and standard OWASP categories. Credit: Matt Pocock; OWASP.