/sast-sca:secure-reviewfrom sast-sca
Performs adversarial secure code review of git diffs, paths, or PRs, focusing on OWASP Top 10, business-logic abuse, and vulnerabilities scanners miss. Supports phase-scoped commands (auth, bizlogic, injection, etc.) and follow-ups for PoC, fix, chain, and triage.
Ships in sast-sca. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
An adversarial, code-evidenced vulnerability review of a diff/path/PR — including business-logic abuse a scanner would miss — ranked by severity with concrete fixes.
If invoked with an argument, run only that phase against the scoped code:
| Command | Scope |
|---|---|
auth | Authn/session + authz/IDOR |
bizlogic | Business-logic abuse — see reference.md |
injection | Injection + input validation |
headers | Security headers & transport (CSP/HSTS/CORS/TLS) |
pii | Sensitive-data/PII handling |
deadcode | Orphan endpoints, debug routes, stale API versions |
all | Full flow below |
poc <FINDING-ID> | Burp + Postman repro steps for a prior finding |
fix <FINDING-ID> | Concrete code fix for a prior finding |
chain | Findings that combine into a higher-severity exploit chain |
triage | Re-rank existing findings by business impact × exploitability |
Cloud/IaC misconfig and structural secure-by-design architecture review are out of
scope here — hand off to infrastructure-security:iac-security-review /
host-hardening-review and security-architect:security-design-review.
Scope the change.
git diff --stat 2>/dev/null && git diff 2>/dev/null # default: working changes
# or: git diff main...HEAD for a branch/PR
If given a path, review that path. Read surrounding code for context, not just diff hunks.
Interactive intake — only for business-critical flows (checkout, payment, KYC, order/refund, auth, admin actions) or when no context has been given yet. Ask in one batch, wait for answers, then proceed; skip silently for small/ non-critical diffs:
Review against the checklist — for every function, ask "how would I abuse this?":
reference.md.secure-coding:secret-guard).sca-review).Cross-check with tools where useful: suggest or run sast-review,
sca-review, secure-coding:secret-guard, secure-coding:safe-function-lint
on the touched files.
Findings ordered by severity (Critical/High/Medium/Low), each with file:line
and the exploit/abuse scenario, formatted as a before/after code pair:
**Vulnerable** (`file:line`):
```<lang>
<exact vulnerable snippet from the diff/file>
Fixed:
<minimal corrected snippet — same shape, only the fix changed>
Keep both snippets minimal (just the vulnerable statement + immediate
context, not the whole function) so the diff is obvious at a glance.
For business-logic findings, use the abuse-scenario format in reference.md
(actor, goal, steps, business impact).
Score meaningful findings with CVSS via security-reporting:cvss rather than a guessed label.
On poc <ID>, add Burp Suite and Postman repro steps — template in reference.md.
Distinguish confirmed issues from things to verify — if unsure, say "likely vulnerable — please confirm: does X happen?" rather than filing it as confirmed.
A short go/no-go recommendation for merging the change.
For a full multi-finding review, close with a quick-win vs. long-term-fix table
(Finding ID | Effort | Priority | Owner) and hand off to
security-reporting:finding / security-reporting:pentest-report for a formal writeup.
Only apply fixes if the user explicitly asks.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jassics/awesome-claude-security --plugin sast-sca3 skills in this plugin
/sast-reviewRun or ingest static application security testing (SAST) results on a codebase, triage them to remove false positives, and confirm the real issues with code evidence and remediation. Use when reviewing source code for security flaws or cleaning up noisy scanner output./sca-reviewAnalyze a project's dependencies (software composition analysis): generate/inspect an SBOM, find known-vulnerable and risky components, and prioritize upgrades. Use when reviewing third-party/open-source risk in a codebase or build.Other plugins' skills for the same job