security-review
Skill by dianyike
Runs a read-only security audit on code changes using Semgrep and Codex cross-validation. It produces a confidence-scored report for developers who want a scan before merging.
Install security-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/dianyike/claude-code-insights /tmp/claude-code-insights && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-insights/examples/security-reviewer/skills/security-review ~/.claude/skills/security-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/dianyike/claude-code-insights /tmp/claude-code-insights && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-insights/examples/security-reviewer/skills/security-review ~/.gemini/antigravity-cli/skills/security-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Security Review is an agent skill that runs a read-only security audit on code changes. It launches the security-reviewer subagent, which combines Semgrep and Codex for dual verification and produces a confidence-scored report. The files to review come from a branch diff, staged changes, or the working tree, and path arguments can narrow the scope.
The skill never modifies source code. Background runs return a job ID right away, and the verdict and report path are shown when the run finishes. Fixing findings is a separate, opt-in command, /security:fix. It suits developers who want a security scan before a merge or who ask whether code is safe.
Written from the project's SKILL.md and checked against it.
What it can do
- Branch diff reviewReviews files changed since the merge-base with a chosen base branch.
- Staged and working tree reviewReviews staged changes or working tree files, including untracked files.
- Automatic scope selectionUses the working tree when it is dirty, otherwise diffs against the default branch.
- Path filteringLimits the review to files whose paths start with the given prefixes.
- Background executionStarts the review in the background and returns a job ID immediately.
- Confidence-scored reportProduces a report with a verdict and a report path, without changing code.
What you need
- Claude Code
- Semgrep
- Codex
- Git repository
Try asking
- Run a security review on my changes before I merge
- Audit src/auth for vulnerabilities in the staged changes
- Check the working tree for secrets and show the report path
Good to know
- Read-only: never modifies source code.
- Job status, result and cancel commands are not yet implemented.
- Cancel only marks a job as cancelled. The subagent may still finish in the background.
- Path filters match prefixes, not glob patterns.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: examples/security-reviewer/skills/security-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGrepGlobBash(git *)Agent
Alternatives to security-review
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
security-review: common questions
Does the security review change my code?
No. The skill is read-only and never modifies source code. Remediation is a separate opt-in step through /security:fix.
How does the security review check for vulnerabilities?
It runs Semgrep and Codex in dual verification and produces a confidence-scored report.
Can the security review run in the background?
Yes, with the --background option it returns a job ID right away. Checking job status is planned but not yet available.
How do I install security-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is security-review free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is security-review safe to use?
It scores 48 of 100. Grades: maintenance D, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to security-review?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
