Claude Security plugin scans code before you commit
Anthropic's Claude Security plugin is in public beta for Claude Code — terminal vulnerability scanning with an adversarial verification pass. What it changes.
Security review has always been the step that gets skipped when the deploy is Friday afternoon. Anthropic just moved it into the terminal: the Claude Security plugin for Claude Code is now in public beta, letting you scan uncommitted changes for vulnerabilities before they land — or run a deeper review across a whole codebase — without leaving the shell you're already in. If your team ships AI-generated code (and if you use a coding agent, you do), this is the missing half of that workflow.
What actually happened
Claude Security came out of closed preview this week. It started as an invite-only enterprise product: CyberScoop reported in February that Anthropic was testing it with select enterprise and team customers after more than a year of stress-testing, including work with red teamers and Pacific Northwest National Laboratory. Now it's a plugin any Claude Code user can turn on, with organization admins controlling the switch.
Mechanically it runs in stages rather than as a single pass: map the code and how components interact, trace data flows across files to find candidate issues, then run an adversarial verification step where Claude tries to knock down its own findings before surfacing them, and finally propose patches written in the existing style of the codebase. Anthropic's pitch is that this catches the class of bug pattern-matching misses — injection paths, auth bypasses, logic errors that only exist because of how two files talk to each other.
Anthropic's own caveat is on the product page and worth repeating: review proposed patches before applying them, especially on critical systems.
Why it matters for your business
Static analysis tools have a reputation problem, and it's earned. They produce hundreds of findings, most of which are noise, so teams stop reading them. The interesting design choice here is the adversarial verification pass — the tool is explicitly built to argue itself out of false positives before you see them. Whether it works on your codebase is an empirical question, and it's one you can answer in an afternoon.
Three things to actually do:
Wire it to the commit, not the calendar. The value is in scanning the diff. A quarterly full-repo audit is a report; a scan on every branch before merge is a control. Start with changes-only scans and keep them fast enough that nobody routes around them.
Budget the full scans. Deep repository reviews are agent work, and agent work bills by token. Run them deliberately — before a release, after a dependency bump, when you inherit a codebase — not on every push. Meter what they cost so the line item never surprises you.
Do not let it replace the human. The patches are suggestions. A tool that writes plausible fixes into security-sensitive code is exactly the tool that needs a reviewer who understands the system. Same rule we apply to every agent we ship: it drafts, a person approves, and the approval is logged.
The bigger point is that AI wrote a lot of the code running your business this year, and most small teams never added a corresponding check. This one is cheap to try. Try it this week.
Key takeaways
- The Claude Security plugin for Claude Code is in public beta — scan uncommitted changes or run a full codebase review from the terminal
- It runs in stages: map architecture, trace data flows, adversarially verify findings to cut false positives, then propose style-matched patches
- It was in closed enterprise preview since February after extended red-team testing; org admins control access
- Scan diffs on every branch; run full-repo scans deliberately and meter the token cost
- Anthropic says to review proposed patches before applying them — treat output as a draft requiring human approval
Shipping AI-written code with no security gate? We build review pipelines where the agent drafts, a human approves, and every approval is logged — the same way we ship our own client work. See what we build or get a second set of eyes on your stack.
Sources: Anthropic, CyberScoop, The New Stack.
- #claude-code
- #appsec
- #code-review
- #ai-agents
- #vulnerability-scanning
Tommy Rush — Founder, Rush Commerce
Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More
Get The Rush Report weekly — one email, zero fluff.
Keep reading
n8n sandbox escape: patch your automation server now
A CVSS 8.7 n8n sandbox escape lets any workflow editor run OS commands on your host. Fixed in 2.31.5 and 2.32.1 — check your version today.
Read itRuff 0.16 ships 413 default rules — pin before you upgrade
Ruff v0.16.0 raises the default rule set from 59 rules to 413 and formats Python in Markdown. Great defaults, and a very loud first CI run.
Read it