Anthropic's Claude Security plugin can run as a GitHub Action, review a pull request for vulnerabilities, and block the merge. The block only happens when the claude-security job is a required status check. Until then, a failed scan is a red X that anyone can merge past.

A check that can block can also pass by accident. Anthropic's own guide lists the conditions, and each one changes how much you can trust a green check. Teams that care about secure code review should read the guide before they flip the switch.

What the official docs actually promise

The plugin's CI guide describes two modes. A pull request review scans each change and posts one comment review, never an approval or a request for changes. A scheduled scan reads the whole repository and writes a report to the job summary.

The timeline matters for how you describe it. The public CI guide landed in the plugin repository in the v0.13.0 commit on 24 November 2026, and @ClaudeDevs posted about the Action on 30 November. The Action is not a launch from this week.

Three names are easy to confuse. The Action is the plugin's CI job. Claude Code's separate Code Review feature is a different tool. The managed "Claude Security" product is a third. Anthropic's February 2026 "Claude Code Security" post covered an earlier preview and did not announce the Action.

Anthropic's plugin page also says the plugin does not replace your existing source-code security tools and should run alongside static analysis, dependency scanning, and code review. Treat the Action as one layer of a review process.

Check 1: Make the claude-security job a required status check

A failed job blocks the merge only if it is a required status check. In the guide's sample workflow, the first job is named claude-security, so that exact job name goes into your branch protection or ruleset. Without it, the scan still posts a review, and the merge button still works.

The guide also says to keep schedule: and workflow_dispatch: in a second workflow, with a different job name. Manual and scheduled runs can then never satisfy the pull request check by accident. Required checks match on name, so naming is part of the control.

Two rows with the same failed claude-security job. When the check is not required, the merge button stays on. When it is a required status check, the merge is blocked by the branch rule. Footer: add the exact job name claude-security as a required check, or a failure is only a red X.

Check 2: Skipped required checks pass

GitHub's status-check docs say a job skipped by an if: condition reports "Success" and will not stop a pull request from merging, even when the check is required. Anthropic's guide repeats the point: "Do not skip the job for external branches: a skipped job counts as passing."

A workflow skipped by path filters stays pending and still blocks the merge.

By default, a pull request from a fork fails the job, the safer side of that rule. The dangerously_scan_external_branches input lets the action continue for every external branch, and the guide says "We do not encourage it." The preferred path: read the change, then reopen it from a branch in your repository.

Check 3: Know who is not scanned

The sample workflow skips some pull requests on purpose. A draft pull request from a branch of your repository passes with no scan until you mark it ready for review, unless you turn on scan_drafts. Dependabot pull requests from your repository are skipped too, and skipped runs pass, so review those changes yourself.

Merge queues and push events are not supported. The sample comments that a job skipped in a merge queue counts as passing. If you use a merge queue, the required check cannot be your only gate there. Plan a second control for the queue path.

Three amber paths, a draft pull request, a Dependabot PR from your repo, and a merge queue or push event, all lead to a green card: a skipped job reports success. A fourth path, a fork pull request, fails by default and leads to a red check that blocks the merge if required.

Check 4: Read the green-check footgun before you rely on the gate

Anthropic's guide says plainly: "A required check can turn green on a commit whose scan failed." The examples are a manual run, a re-run, or another pull request with the same head. A passing check name can come from a run that did not scan this commit.

The guide lists follow-ups. Keep scheduled and manual scans in a separate workflow. Do not re-run an older run after a change of base branch. Run one copy of the job on pull requests. Never build a step name from pull request text. Push a commit after a force-push of the base branch.

Three steps: a commit is pushed with a required check, the scan fails with an example HIGH finding, and the badge shows green. Below, three cards advise: open the scan output, green is not proof, keep a human in the loop. Footer: a required check can turn green on a commit whose scan failed.

Check 5: Use it only where you trust everyone who can push

The trust model is stated up front: use the action only where you trust everyone who can push. Text in a pull request can steer the scan, and the scan can run the pull request's code. Anyone who can push can also edit the workflow, use its model credential, and pass the check.

Public repositories add a disclosure risk, because a review or job summary can reveal a live vulnerability. Anthropic's recommendation, if that concerns you, is to scan locally instead of in CI. The guide also covers the credential: a dedicated workspace with a monthly spend limit, and workload identity federation over a long-lived key.

Check 6: Pin a full commit, choose fail_on on purpose, and never read green as proof

The action runs with sudo, so the guide says to pin a release's full commit, never a branch. Nothing warns you of a newer release, so the plugin's docs page carries the latest commit. At the time of writing, the docs gave d0d514288960e7a78e1a76e4a3ec694416458726 for version 0.13.0.

Version 0.13.1 is already on the main branch, so check the docs page for the commit it lists before you copy one.

The fail_on input decides which findings fail the job. The default is high, meaning any critical or high finding. The value confident-high fails only on critical or high findings of high confidence, so a real high finding of medium or low confidence can pass. Values medium and any block more merges, and never blocks none.

AI agents assign each severity and confidence, and both can change between runs. A scan that lost agents or returned an unverified report fails the job under every value except never. The guide's last word on results: "A clean review is not proof of absence."

Where an independent review layer fits

A vendor security scan answers one question about a change: does it see a vulnerability. Teams also need a second answer: does the change follow their own rules, in the context of the whole codebase. A skipped or steered scan should never be the only line before main.

Qodo, the AI Code Review Platform, works as that second layer. Once Rule enforcement is on, Qodo reviews pull requests in connected repositories against your team's enforceable rules with full codebase context. Qodo's review is advisory, so it works next to a required check and does not replace one. Qodo flags; your team decides.

A short checklist

  • Add the claude-security job as a required status check.
  • Never skip the job for external branches, and plan for forks.
  • Cover drafts, Dependabot, and merge queues with another control.
  • Keep manual and scheduled runs in a separate workflow.
  • Trust everyone who can push, and think twice on a public repository.
  • Pin a full commit, choose fail_on deliberately, and treat a clean review as one signal.

Qodo is the AI code review platform with high-precision PR review, full codebase context, enforceable rules, and local review inside your coding agents.