Skip to content

Claude Code

Claude Security now reviews pull requests on GitHub

3 min read

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: Claude Code versions and changes →
Image: x.com

Anthropic’s Claude Security plugin, which hunts for vulnerabilities in your code from inside a Claude Code session, can now also run as a GitHub Action. Added to a repository, it reviews pull requests for security holes, suggests fixes you can commit and can block the merge. The plugin is in beta on paid plans, the Claude API and cloud providers.

Until now you started a scan yourself, in a Claude Code session or with the claude-security command in your shell. According to Anthropic’s documentation, the plugin then runs several Claude agents: they map the code’s architecture, hunt for vulnerabilities, and an independent agent reviews every finding before it reaches the report. Findings that don’t survive that review stay out, which keeps reports short.

What changes for your pull requests

The GitHub Action brings the same scan to the point where code is about to be merged. Fixes still don’t land on their own: across the plugin, a patch is drafted in a scratch copy of the repository, and a second agent, independent of the one that wrote it, has to vouch that it fixes its one finding, adds no new vulnerability and leaves behavior otherwise unchanged. When it can’t vouch for all three, you get a short note explaining why instead of a patch. Applying a patch is always your decision.

The documentation also warns that scans are nondeterministic: two scans of the same code can surface different findings. It asks you to scan only code you own or have permission to test.

Who can use it and what it costs

Scans can use a lot of tokens, and the cost grows with the size of the repository, the scan effort and the model. A scan in your session or shell counts toward your own usage. A scan in GitHub Actions counts toward the account that owns the job’s model credential, and the Action doesn’t support subscription sign-in, so it needs API access or a cloud provider such as Amazon Bedrock, Google Cloud’s Agent Platform or Microsoft Foundry.

In Claude Code, the plugin installs with /plugin install claude-security@claude-plugins-official. If a command or option doesn’t work, Anthropic says to check that you have version 0.13.1 or later.

What else is new

Vulnerability Triage takes a SARIF file, the standard report format many security scanners produce, and returns the findings that actually hold up against your code, in the order to fix them. Attack surface analysis looks for exposed code you may not need and can propose patches for you to test. And a live view now shows each scan as it runs in your terminal.

Not the only security tool in Claude Code

Anthropic has several tools with similar names. The built-in /security-review command, available since August 2025, checks the changes on a branch for common vulnerability types and has its own GitHub Action that comments on pull requests. The security guidance plugin reviews code as Claude writes it, and Code Review reviews pull requests. There is also Anthropic’s managed Claude Security product, which since October rescans connected repositories continuously on Enterprise. The plugin’s documentation has a section on how these layers stack.

AI industryxAI

Cursor is now called Grok Build

Cursor is gone as a name. Bought by SpaceX in August, it is now the Grok Build desktop app, and Grok says its rewritten agents window is 3x more responsive. Have you ever left a coding tool after it changed owners?

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.