Anthropic · 2026-11-30 · major
Claude Security plugin in GitHub Actions — scans pull requests, can block merges
In short
Anthropic's Claude Security plugin for Claude Code now runs as a GitHub Actions job. It scans each pull request with a team of agents, posts a review with suggested fixes and can fail a required check to block the merge.
Anthropic · 2026-11-30 · 3 sources checked

The Claude Security plugin now reviews every pull request in CI and can stop a vulnerable change from merging.
Quick facts
| Maker | Anthropic |
|---|---|
| Runs on | GitHub-hosted Linux runners on GitHub.com |
| Credentials | Claude API key, workload identity federation, Bedrock, Agent Platform or Foundry |
| Not supported | Subscription sign-in, GHE.com, GitHub Enterprise Server |
| Outputs | PR review, suggested fixes, status check, optional SARIF |
| Forks | Job fails on fork pull requests by default |
What is it?
The Claude Security plugin, Anthropic's multi-agent vulnerability scanner for Claude Code, can now run inside GitHub Actions. On a pull request the job scans only the change, posts one comment review and, later, suggested fixes. A second sample workflow scans the whole repository on a schedule and writes its report to the job summary.
How does it work?
The workflow calls the anthropics/claude-plugins-official/plugins/claude-security action on a GitHub-hosted Linux runner. Agents hunt for vulnerabilities and other agents verify each finding before it is reported. A fail_on setting (from confident-high to any, or never) decides when the status check fails, and findings can also be uploaded as SARIF code scanning alerts.
Why does it matter?
Teams get a deep, agent-based security review on every pull request without anyone running a scan by hand, and a required check turns that review into a merge gate. Anthropic warns that the job spends model tokens on the credential's account, can run the pull request's code, and that a passing scan does not prove the code is secure.
Who is it for?
security and platform teams, maintainers of private GitHub repos
Frequently asked questions
- How much does the Claude Security GitHub Action cost?
- The Claude Security plugin has no separate price; a scan in GitHub Actions counts toward the account that owns the job's model credential. Anthropic's guide says a whole-repository scan costs much more than a pull request review, that Fable costs several times as much as Opus, and suggests lowering scan_effort, switching model or turning off suggested patches to cut cost.
- Can I use my Claude Pro or Max subscription in the GitHub Action?
- No. The Claude Security GitHub Actions job cannot sign in with a paid Claude plan. It needs a Claude API key stored as a repository secret, workload identity federation (which Anthropic recommends because no secret is stored), or a cloud provider such as Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry.
- Is the Claude Security GitHub Action safe on public repositories?
- Anthropic advises caution. On a public repository the Claude Security review, job summary or report artifact can disclose a live vulnerability, so Anthropic suggests scanning in a local session instead. The job also fails by default on pull requests from forks, because the author could steer the scan, run their code and spend your model credential.
- How is the plugin's GitHub Action different from the Claude Security product?
- The Claude Security plugin's GitHub Action runs in your own CI on your own model credential and scans pull requests or the repository on a schedule. Claude Security, the managed product on the Enterprise plan, is a hosted service that monitors connected repositories and can run scans on Claude Mythos.
Try it
/plugin install claude-security@claude-plugins-official