· AI dev tools
Anthropic Claude Security integration brings vulnerability detection to GitHub Actions on November 30
The mechanism for catching errors in code is shifting as AI coding agents accelerate development, creating a bottleneck in traditional security checks.
Anthropic has integrated its Claude Security functionality with GitHub Actions, allowing automated vulnerability identification and suggestions for fixes to appear directly within the pull request workflow.
The sheer speed at which coding agents operate has fundamentally altered the dynamics of code review; a developer utilizing Claude Code might submit numerous pull requests in a single day, a volume that a security team would struggle to process in a week. This imbalance necessitates a change, and frequently, the security review process is the point of failure. Anthropic is actively working to bridge this gap, announcing on November 30 that its Claude Security plugin for Claude Code is now operational as a GitHub Action. This action examines pull requests for vulnerabilities, offers suggested fixes that developers can commit, and possesses the capability to prevent a merge if the identified issues surpass a severity level established by the team.
This plugin is not entirely new; Anthropic first offered it in a beta phase earlier this year as a singular command, /claude-security, executable within an interactive Claude Code session. What constitutes the innovation is its deployment location: running within the CI pipeline for every single pull request. Mitch Ashley, VP and practice lead for software lifecycle engineering at The Futurum Group, commented on this shift, stating, "Coding agents already produce code faster than teams can verify it, and security review is where that verification debt comes due first." He further explained, "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 core functionality of the scan itself is quite sophisticated; it moves beyond merely matching patterns for known problematic strings. Claude agents begin by mapping the application's functionality to construct a threat model for every component. Subsequently, research agents spread across the codebase to seek out flaws, such as a database query constructed using unvalidated user input. To ensure accuracy, separate agents challenge every discovered finding before it is presented in the final report, and Anthropic confirms that this verification tally is calculated programmatically rather than relying on the model's subjective judgment.
For pull requests, the plugin's Scan Changes mode focuses specifically on the difference between versions while still consulting the entire repository for necessary context. This contextual awareness is vital because a modification that appears benign in isolation might introduce a security flaw once the data flow across several other files is considered. When issues withstand the review process, the plugin is capable of generating patches. An additional layer of defense involves another group of agents that adversarially reviews each proposed patch before it reaches the developer. The suggested fix then appears in the pull request as a recommendation, but nothing is applied automatically; a human must ultimately approve what is committed.
Furthermore, the update introduces a feature that may resonate strongly with many AppSec teams, surpassing the importance of the PR scans themselves: Vulnerability Triage’s ability to accept SARIF 2.1.0 files from existing scanner tools. Claude then analyzes every alert against the actual source code, returning only those deemed valid and organizing them in an order conducive to remediation. Anyone who has spent time looking at a SAST dashboard burdened with thousands of open alerts will immediately recognize the value of this capability. Anthropic suggests that users should examine the findings the system rejects, particularly if the original alert lacked sufficient detail.
A third capability addresses the application's attack surface, flagging any exposed code that the application might not require, such as code accessible before a user logs in, and it can even propose modifications for developers to test. The scans now also stream live within the terminal interface, including findings that are still undergoing evaluation.
Implementing this requires some careful configuration; the GitHub Action necessitates credentials for the Anthropic API or one of the supported cloud providers. A subscription login for Claude will not function within the CI environment, although paid subscribers retain the ability to use the plugin inside Claude Code. Scans execute on a GitHub-hosted Linux runner, and the usage is counted against the account that holds the model credential. Anthropic cautions that these scans can consume a substantial amount of tokens, advising teams to monitor expenditures before enabling the feature across all repositories.
The provided sample workflow deliberately excludes draft pull requests and Dependabot updates, and fork pull requests are blocked by default. This final default setting is intentional. Anthropic advises that the job should only be run in environments where every individual with push access is fully trusted, because the content of a pull request can manipulate the scan. In essence, the code under review might attempt to communicate with the reviewer, which constitutes prompt injection—a genuine hazard for any agent processing untrusted input.
Public repositories introduce an additional layer of risk: review comments, job summaries, and generated reports could potentially expose a vulnerability before it has been patched. Teams developing sensitive or open-source code must carefully consider where these findings appear and who will have visibility into them.
Two additional points warrant attention. The plugin remains in beta, and Anthropic notes that running two scans on the identical code may yield different results. Developers accustomed to the predictability of deterministic SAST tools will need to adjust their expectations accordingly. Moreover, a clean pull request review only assesses the changes made, not the entire codebase.
For Enterprise clientele, Anthropic offers a separate managed Claude Security service that provides continuous monitoring of connected repositories and tracks the resolution of identified issues; this service is distinct from the plugin. Ashley also recognizes a limitation to this current methodology, noting, "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 added that "The next step CISOs should watch for is security built into the agent or model at the point it writes code." This represents the more significant evolution to track. While AI coding tools have lowered the cost of writing code, they have not made reviewing it inexpensive. Until security is fundamentally embedded within the agents that generate the code, the merge gate remains the practical checkpoint for catching errors. This is precisely where Anthropic has positioned its solution: the agents discover, validate, and suggest; the developers make the final call. For DevOps teams already integrating tests and linters into every pull request, incorporating a security agent into that existing pipeline represents a relatively minor modification. The true challenge lies in correctly establishing the trust boundaries, managing token budgets, and configuring branch protection rules.
Why it matters
For developers using AI coding agents, this integration addresses the growing gap between code generation speed and security review capacity. Teams should watch the implementation details, such as token consumption and trust boundaries, when adopting this CI-based security check.





