Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 85
  • 25k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-review

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install diff-security-review in Claude Code

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

A

No 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 →

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.

diff-security-review Install

Add to stack

Loading.