diff-security-review
Skill by different-ai
Reviews a code diff and flags only new security issues it introduces. Findings are reported in the Warden security summary. It is meant for reviewers checking pull requests.
Install diff-security-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/different-ai/openwork /tmp/openwork && mkdir -p ~/.claude/skills && cp -r /tmp/openwork/.warden/skills/diff-security-review ~/.claude/skills/diff-security-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/different-ai/openwork /tmp/openwork && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/openwork/.warden/skills/diff-security-review ~/.gemini/antigravity-cli/skills/diff-security-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install diff-security-review in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
diff-security-review is an agent skill published by different-ai. It asks the assistant to answer one question: does this change introduce a new security issue that did not exist before? It checks the changed lines for issues such as injection, XSS, SSRF, path traversal, authorization bypass, secret exposure, unsafe deserialization, and risky Electron patterns. It also checks changes under .github/ for risks such as pull_request_target misuse and untrusted event data in run scripts.
Each finding is grouped by root cause and includes the attack path, a severity of high, medium, or low, a small fix, and a condition that clears it. The skill ignores style issues, pre-existing problems, and unreachable theoretical weaknesses. It is intended for security reviewers and maintainers who use Warden for pull request review.
Written from the project's SKILL.md and checked against it.
What it can do
- New issue detectionFlags only security issues introduced or made worse by the changed lines.
- Workflow reviewChecks .github/ changes for risky triggers, permissions, secrets, and unpinned actions.
- Attack path reportingExplains who controls the input, the concrete failure, and what an attacker gains.
- Fix and clear conditionGives the smallest fix in the changed code and the condition that resolves each finding.
Try asking
- Review this diff and report only new security issues it introduces.
- Check the .github workflow changes for pull_request_target misuse.
- Flag any new secret exposure or unsafe Electron settings in this pull request.
Good to know
- Tools are limited to Read, Grep and Glob.
- Reads only files inside the repository under review.
- Reports nothing for a clean diff.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .warden/skills/diff-security-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Grep Glob
-
SKILL.md5 KB
Alternatives to diff-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
diff-security-review: common questions
What does diff-security-review check?
It checks only the changed lines for new security issues, such as injection, XSS, SSRF, path traversal, and secret exposure. Pre-existing issues in unchanged code are not reported.
Where are the findings reported?
The source says findings are reported in the Warden security summary.
Does it review CI workflow changes?
Yes. The skill checks .github/ changes for risks like untrusted event data in run scripts, widened permissions, and third-party actions referenced by tag instead of commit SHA.
How do I install diff-security-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is diff-security-review free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is diff-security-review safe to use?
It scores 85 of 100. Grades: maintenance A, licence F, quality A. 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 diff-security-review?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
