Anthropic brought its Claude Security plugin for Claude Code to GitHub Actions on November 30. The AI now reviews proposed changes for security flaws, leaves findings on the pull request and can suggest a patch. Whether a finding can stop the merge depends on a separate decision by the repository maintainer. [1]
One finding, two possible outcomes
Imagine Claude marks a change as high severity. The developer sees the finding in the pull request either way. What happens when someone clicks Merge depends on how the branch is protected.
- The scan is optional. The job can fail while GitHub still allows the merge, provided the other requirements are met.
- The scan is required. If a finding meets the configured failure threshold, the job fails and GitHub holds the merge. Anthropic’s default threshold covers high and critical findings.
Claude issues the review as a comment. GitHub enforces the check through the repository’s branch rules. Anthropic’s sample runs patch suggestions as a separate job. Its guide puts a follow-up with suggested fixes about 9 to 13 minutes after the first review on a small pull request. That figure describes the delay between reviews. A developer still decides whether to apply the patch. [3], [4]
Why a green check can mean the scan was skipped
In Anthropic’s sample workflow, a draft pull request from the same repository passes without a scan until it is marked ready for review. The sample also skips Dependabot pull requests from branches in that repository. A maintainer looking at a green check needs to know which path the job took.
The review focuses on the proposed changes. Anthropic says a flaw the agents judge to predate the pull request does not fail the job by itself. Teams that want coverage of existing code can schedule a separate scan of the full repository. Static analysis and dependency checks still cover their own rules and known vulnerable packages. [2]
Pull requests from forks cross a trust boundary
Anthropic recommends using the action only where the maintainers trust everyone with push access. The scan can run code from the proposed changes, and text in those changes can influence what the AI does. For a pull request from a fork, the action fails the job by default. In a public repository, posting findings also raises a disclosure question because a review can reveal a vulnerability while it is still live.
That trust decision applies to other AI developer tools, too. In the Miasma campaign, project setup itself was used to target coding agents. Here, maintainers can keep external changes under human review before deciding whether to bring them onto a trusted branch for a scan.
What runs in GitHub Actions
The integration requires a GitHub-hosted Linux runner on GitHub.com and access to a model through Anthropic’s API or a supported provider. The job bills model usage to that provider account. A Claude subscription sign-in alone cannot authenticate it.
Anthropic also offers a managed enterprise service called Claude Security that monitors connected repositories. The GitHub Actions release concerns the Claude Code plugin, which teams run inside their own CI. For a team adopting it, the first decision is which changes can reach the scanner. The second is which results should stop a release.
References
- Claude Developers. Announcement of Claude Security in GitHub Actions. X, November 30, 2026.
- Anthropic. Scan your codebase for vulnerabilities. Claude Code Docs, accessed November 30, 2026.
- Anthropic. Claude Security Plugin for Claude Code in GitHub Actions. GitHub, accessed November 30, 2026.
- GitHub. Available rules for rulesets. GitHub Docs, accessed November 30, 2026.

