Coding agents have changed the math on code review. A developer working with Claude Code can open more pull requests in a day than a security team can reasonably read in a week. Something has to give, and too often it’s the security review.

Anthropic is trying to close that gap. On November 30, the company said its Claude Security plugin for Claude Code can now run as a GitHub Action. The job reviews pull requests for vulnerabilities, posts suggested fixes developers can commit, and can block a merge when findings meet a severity threshold the team sets.

The plugin isn’t new. Anthropic released it in beta earlier this year as a single command, /claude-security, that runs inside an interactive Claude Code session. What’s new is where it runs: in CI, on every pull request.

“Coding agents already produce code faster than teams can verify it, and security review is where that verification debt comes due first,” said Mitch Ashley, VP and practice lead for software lifecycle engineering at The Futurum Group. “Any scan that relies on a developer to remember to run it can’t keep pace with agent output, so the check has to run on every pull request.”

The scan itself is the interesting part. This isn’t a pattern matcher looking for known-bad strings. Claude agents first map how the application works and build a threat model for each component. Research agents then fan out across the code looking for flaws, such as a database query built from unsanitized user input. Separate agents challenge each finding before it lands in the report, and Anthropic says the verification tally is computed in code rather than left to the model’s judgment.

For pull requests, the plugin’s Scan Changes mode targets the diff but still reads the full repository for context. That matters. A change that looks harmless on its own can open a hole once you see how the data flows through three other files.

When findings survive review, the plugin can generate patches. Another panel of agents reviews each patch adversarially before a developer sees it. The fix appears in the pull request as a suggestion. Nothing is applied automatically. A human still decides what gets committed.

The update also adds a feature many AppSec teams may care about more than the PR scans. Vulnerability Triage accepts SARIF 2.1.0 files from the scanners teams already run. Claude checks each alert against the source code and returns the ones it considers valid, ordered for fixing. Anyone who has stared at a SAST dashboard with thousands of open alerts knows why that’s useful. Anthropic advises reviewing the findings it rejects, especially when the original alert had little detail.

A third piece looks at attack surface. It flags exposed code the application may not need, such as code reachable before login, and can propose changes for developers to test. Scans also stream live in the terminal now, including findings still under review.

The setup takes some care. The GitHub Action needs credentials for the Anthropic API or a supported cloud provider. A paid Claude subscription sign-in won’t work in CI, though paid users can still run the plugin inside Claude Code. Scans run on a GitHub-hosted Linux runner and count against whichever account owns the model credential. Anthropic warns that scans can consume a lot of tokens, so teams should watch costs before turning this on across every repository.

The sample workflow skips draft pull requests and Dependabot updates, and fork pull requests fail by default. That last default is deliberate. Anthropic recommends running the job only where everyone with push access is trusted, because pull request content can steer the scan. Put simply, the code under review can try to talk to the reviewer. That’s prompt injection, and it’s a real risk for any agent that reads untrusted input.

Public repositories add another risk. Review comments, job summaries, and reports can disclose a vulnerability before anyone has fixed it. Teams working on sensitive or open-source code need to consider where findings show up and who can see them.

Two more caveats. The plugin is in beta, and Anthropic says two scans of the same code can surface different findings. Teams used to deterministic SAST tools will need to adjust their expectations. And a clean pull request review covers the change, not the whole codebase. Anthropic sells a separate managed Claude Security service for Enterprise customers that continuously monitors connected repositories and tracks fixes. The plugin and the service are different products.

Ashley also sees a limit to the approach. “Moving it into CI does that, though it is still find-and-fix after the code exists. That’s the current (non-agentic) development process,” he said. “The next step CISOs should watch for is security built into the agent or model at the point it writes code.”

That’s the bigger shift to track. AI coding tools made writing code cheap. They did not make reviewing it cheap. Until security is built into the agents that write the code, the merge gate is the practical place to catch what they get wrong.

That’s where Anthropic put it. The agents find, verify, and propose. Developers decide. For DevOps teams already running tests and linters on every pull request, adding a security agent to the same pipeline is a small change. Getting the trust boundaries, token budgets, and branch protection rules right is the real work.

Frequently Asked Questions

1. What is Anthropic’s Claude Security GitHub Action?
An automated security integration that scans pull requests, identifies vulnerabilities and recommends fixes within development workflows.
2. Can Claude Security block a pull request from merging?
Yes. The integration can block merges when serious security vulnerabilities are detected.
3. Why is automated security review becoming essential?
AI coding agents are generating code faster than traditional security teams can review it, increasing the need for automated security gates.