secure-code-review · securityskills — Claude Code skill for vulnerability checks
secure-code-review — a skill that audits code for vulnerabilities using vulnerability-class checklists — traces inputs to SQL and commands, checks access control and trust boundaries.
no license 1,900 installs updated 2026-08-26
npx skills add securityskills/skills --skill secure-code-review -a claude-codeWhat secure-code-review does
The skill teaches the agent to find vulnerabilities structurally, not line-by-line. First, it identifies entry points, trust boundaries, data stores, and privileged operations. Then it traces untrusted data to SQL, command shells, HTML rendering, file paths, deserialization, and redirects — checking for parameterized queries, escaping, path validation.
For authorization, it verifies that each endpoint filters queries by the caller's user or tenant ID, rotates sessions, and sets secure cookie flags. For cryptography, it confirms the use of library primitives instead of hand-rolled implementations and random numbers from CSPRNG. The agent reports findings with severity, exploitation path, and a suggested fix.
Install via npx skills add in Claude Code, Codex, Cursor, OpenCode, and Gemini CLI; in GitHub Copilot via gh skill install.
What it helps with
- audit a PR or codebase for SQL injection and command injection
- find IDOR and object-level authorization issues
- detect hardcoded API keys, tokens, and passwords
- check file path handling for path traversal
- identify race conditions and TOCTOU in concurrent code
Example prompts for the agent
- Review this pull request for vulnerabilities — trace inputs to SQL and shell commands, check authorization
- Find access control issues in
api/users.py— especially IDOR and tenant ID filtering - Audit cryptography in
auth/— check algorithms, modes, and randomness sources
How to install secure-code-review
1Skills CLI (Vercel)
npx skills add securityskills/skills --skill secure-code-review -a claude-code2Manually: put the files in place
~/.claude/skills/secure-code-review/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/secure-code-review/
1Skills CLI (Vercel)
npx skills add securityskills/skills --skill secure-code-review -a codex2Manually: put the files in place
.agents/skills/secure-code-review/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add securityskills/skills --skill secure-code-review -a cursor2Manually: put the files in place
.cursor/skills/secure-code-review/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install securityskills/skills secure-code-review/secure-code-review/SKILL.md2Manually: put the files in place
.github/skills/secure-code-review/SKILL.md1Skills CLI (Vercel)
npx skills add securityskills/skills --skill secure-code-review -a gemini-cli2Platform CLI
gemini skills install https://github.com/securityskills/skills --path secure-code-review/secure-code-reviewManually: put the files in place
.devin/skills/secure-code-review/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add securityskills/skills --skill secure-code-review -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about secure-code-review
How to install secure-code-review in Claude Code?
Run npx skills add securityskills/skills --skill secure-code-review -a claude-code. The skill will appear in ~/.claude/skills/secure-code-review/SKILL.md.
What does the secure-code-review skill do?
It teaches the agent to find vulnerabilities systematically: traces untrusted data to SQL, commands, HTML, and file paths, checks authorization, session management, and cryptography using vulnerability-class checklists.
Which vulnerability classes does the skill check?
SQL and NoSQL injection, command injection, XSS, path traversal, unsafe deserialization, open redirects, IDOR, session management issues, hardcoded secrets, and race conditions.
Similar skills
All skills for Security →secure-code-review by other authors comes first.