Anthropic Brings Claude Security Scans to GitHub Pull Requests

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


Anthropic has expanded its Claude Security plugin for Claude Code to scan GitHub pull requests for vulnerabilities before they merge. The GitHub Actions integration reviews proposed code changes, posts findings with fixes developers can commit, and can block a merge when findings meet a configured severity threshold.

The update, from Anthropic’s developer team on November 30, brings the review into the same workflow where developers already run tests and check code.

The plugin is separate from the managed Claude Security service, which monitors connected repositories. As Cyber Security News previously reported, Anthropic extended that service to scan repositories continuously and track fixes.

The new GitHub Actions job instead focuses on what a pull request changes, though teams can also schedule full repository scans. That distinction matters: a clean pull request review is not a clean bill of health for the entire codebase.

Claude Security Reviews Code Changes

In a full repository scan, Claude agents map how the application works, look for vulnerabilities, and send findings to separate agents for verification before they appear in the report.

The terminal’s live view shows the scan as it runs, including which findings are still under review. Anthropic notes in its Claude Security documentation that two scans of the same code can surface different findings.

Anthropic’s pull request demo shows how that review looks in practice. The plugin flags SQL injection in an invoice search because the application inserts a user’s search input directly into a database query.

The proposed fix passes the search term separately, so the database treats it as data rather than part of the command. A developer can commit the suggestion from the review, but the plugin does not apply the fix on its own.

The update also adds a way to review alerts from existing scanners. Vulnerability Triage accepts SARIF 2.1.0, a standard format for sharing security findings, and checks the alerts against the source code before putting validated issues in fix order.

Anthropic advises reviewing rejected findings, especially when the original alert contains little detail. A separate analysis looks for exposed code the application may not need, such as code reachable before login, and can suggest changes for developers to test.

The plugin is in beta. Paid Claude users can run it in Claude Code, but the GitHub Actions job cannot use subscription sign-in. It requires a GitHub-hosted Linux runner and credentials for the Anthropic API or a supported cloud provider.

Anthropic warns that scans can use many tokens. Its sample workflow skips draft pull requests until they are marked ready and does not scan Dependabot pull requests. Fork pull requests fail by default.

Anthropic recommends using the job only where everyone with push access is trusted, because pull request content can steer the scan. On public repositories, review comments, job summaries, or downloadable reports can disclose a vulnerability before it is fixed.

Those limits echo earlier Cyber Security News reporting on Claude Code workflow secrets. For teams testing the beta, a sensible starting point is to keep existing scanners in place and review the plugin’s findings before making its check mandatory.

Give your SOC the alert context on the latest threats to stop incidents quickly -> Integrate Threat Intel from 16K SOCs

The post Anthropic Brings Claude Security Scans to GitHub Pull Requests appeared first on Cyber Security News.