Claude Security Now Guards Your Pull Requests Before They Merge

Human Verified

Share to: , and

A glowing translucent shield hovering over a code review screen in a dark developer workspace at night, illustrating Claude Security scanning pull requests for vulnerabilities.

Anthropic has taken its Claude Security plugin into the pull request queue. The plugin now runs as a GitHub Actions job that scans a pull request’s changes, posts a review with suggested fixes, and can block the merge on severe findings. The move puts the tool where code review happens.

How the check works

The job runs on a GitHub-hosted Linux runner and needs Anthropic API access or a third-party provider, because it cannot sign in with a paid plan. Developers add the plugin’s workflow to their repository, and the scan triggers on pull request events, reviewing the diff rather than the whole codebase.

The update surfaced through Anthropic’s developer team on November 30, with the plugin’s documentation refreshed that week. It is a step in putting Claude Code’s security tools where developers already work, after the plugin arrived as an in-session scanner and the managed service began watching repositories for Enterprise customers.

Findings arrive as a review on the pull request, with fixes developers can commit. Teams can set a severity threshold so the merge blocks when findings reach it, and the job can scan the repository on a schedule. Draft pull requests pass without a scan until authors mark them ready.

There are practical limits. The job cannot sign in with a paid plan, so teams need API access or a provider, and Anthropic warns that scans can use many tokens. The plugin needs version 0.13.1 or later. Anthropic tells users to read the requirements and risks before turning it on.

What the scan finds

The plugin is still in beta. Its agents map the architecture, hunt for vulnerabilities and independently review every finding before writing a report, then draft patches for the findings a developer chooses. Anthropic says it does not replace existing scanners, which still handle rules, dependencies and policy checks.

Each finding passes through checks before it reaches the report. Agents verify the flaw, and the report lists its impact, an exploit scenario, severity and confidence, with a patch the developer can review. The plugin triages findings from other scanners, and can map the parts an attacker can reach.

Why It Matters

Security checks arrive after code lands, when fixes cost more and the author moved on. Catching a flaw before merge, with a patch attached, shortens that loop to minutes. For teams shipping AI-written code, a gate that can stop a risky merge is part of the workflow, not an afterthought.

The timing fits a wider shift. Rivals from Wiz to Datadog have shipped agent-security tools in recent weeks, and the contest is moving from finding bugs to catching them first. Anthropic’s Claude model recently found a theoretical attack on post-quantum cryptography, showing the same tools can hunt at the frontier.

For Anthropic, the move answers a practical question. Security tools that live only in a chat session help one developer at a time, while a check in CI protects every change from every contributor. Putting the same deep scan on the pull request turns an assistant into a team gate.

Background

Claude Security began as a beta plugin for scanning code inside Claude Code sessions, and Anthropic later added a shell command and an Enterprise service that watches connected repositories. The GitHub Actions job is the third way to run it, for teams that want the check on every pull request.

Source: Claude Code documentation and Cyber Security News

Share to: , and

Faheem R. Khattak

Senior automation engineer and AI marketing journo covering LLMs, algorithms, analytics, core updates, Bing search, and technical SEO.

0 Comments

Leave a Reply

Optional Take Tag:

🛡️ Spam protection: Honeypot + Time-Trap Active

This site uses Akismet to reduce spam. Learn how your comment data is processed.