Vulnerability scans for every pull request
Anthropic said on Claude's official X account for developers on Nov. 30 (Dec. 1 Japan time) that "Claude Security," its vulnerability scanning plugin for Claude Code, can now run on "GitHub Actions," GitHub's automation system. It reviews pull requests (requests to bring code changes into a project) for vulnerabilities, suggests fixes that can be committed as they are, and can also block the merge (bringing the change into the main code), the company said.
You can now run the Claude Security plugin for Claude Code as a GitHub Action. It reviews your pull requests for vulnerabilities, suggests fixes you can commit, and can block the merge. You can also triage scanner findings, reduce your attack surface, and watch scans live.
The plugin examines a repository or its changes with multiple AI agents. Agents hunt for vulnerabilities, and other agents check each finding independently before it goes into the report. Besides GitHub Actions, it can also be run from Claude Code's interface or from a terminal command.
Blocks merges over serious flaws when set as a required check
According to the official documentation, the GitHub Actions job scans the changes in a pull request, posts a review and suggested fixes, and can block the merge. It can also scan the whole repository on a set schedule.
According to Anthropic's guide, each scan posts one comment review and never an approval or a request for changes. Suggested fixes can be left to a second job, in which case they arrive as a second review about 9 to 13 minutes after the first on a small pull request. The fixes are written by AI agents, and the guide asks that a person check them before committing. A pull request scan takes from minutes to tens of minutes depending on its size, and a whole-repository scan from minutes to hours.
The job blocks a merge only when it is made a required status check on GitHub. By default, the job fails if there is even one finding rated "critical" or "high" in severity. It can be switched to only critical or high findings of high confidence, medium and above, any finding, or never. AI agents set the severity and confidence, which can change from run to run, the guide said.
Results are also produced in a common format called SARIF, so they can be recorded as alerts in GitHub's "code scanning."
API access required, with usage billed to the credential's owner
Scanning on GitHub Actions requires Anthropic API access, or one of Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry. It does not work with a login for a paid Claude plan. Usage is billed to the account that owns the model credential set in the job.
It runs only on GitHub-hosted Linux runners on GitHub.com, and does not support GHE.com (the version with data residency) or GitHub Enterprise Server.
The default model for scans is "Claude Fable," which Anthropic also recommends. Sonnet 5.5 or Opus 5.5 also performs well on smaller pull requests, the company said, while recommending a final scan on Fable before merging. For whole-repository scans, Fable costs several times as much as Opus, so the guide's sample configuration uses Opus.
Warning to limit use to repositories where everyone who can write is trusted
Anthropic asks that the job be used only in repositories where everyone who can write changes is trusted. Anyone who can add text or code to a pull request's branch can steer the scan, have it run that code, and make it send model requests on the job's credential. By default, the job fails for a pull request from a fork (a copy of the repository made by someone else).
In a public repository, the review, the job summary or the report file can disclose a vulnerability that has not yet been fixed. In that case, the company recommends scanning in Claude Code on one's own machine.
The scan runs in an isolated environment with no network access, no administrator privileges and no access to the job's GitHub token. However, what it reads can still leave through model requests or the review. Draft pull requests pass with no scan until they are marked ready for review. Pull requests from Dependabot also pass with no scan, so a person needs to check their changes. Scans in a merge queue or triggered by push events are not supported. The guide says "A clean review is not proof of absence."
Also triages other scanners' findings and analyzes the attack surface
The other features listed in the post are also described in the documentation. "Vulnerability Triage" reads a SARIF list from another scanner or the results of an earlier scan and checks whether the findings hold up against the actual code. There is also an analysis that examines the parts an attacker can reach and proposes changes to reduce them. When a scan is started in a terminal, a view showing its progress live opens (Claude Code version 2.1.292 or later).
Separate from the enterprise "Claude Security" service
The plugin is separate from the service of the same name offered on the business-oriented "Claude Enterprise." The service continuously monitors connected repositories and can also scan with "Claude Mythos," Anthropic's top model that is not publicly available. In October, Anthropic added a feature to the service that rescans every time code changes.
Anthropic also offers "Code Review," which checks the correctness and security of pull requests with multiple agents, for Team and Enterprise plans. The documentation positions the plugin's scan on GitHub Actions as a layer that examines pull request changes in depth, and says it does not replace existing static analysis or dependency scanning.






