Wink Pings

A new security gate before PR merge: Claude Code can block directly

Addy Osmani retweeted a ClaudeDevs message: The Claude Security plugin can run as a GitHub Action inside Claude Code, review PR vulnerabilities, provide fix suggestions, and even block merges. For teams using AI to write code, the location of the checkpoint is more worth watching than the feature list.

Addy Osmani retweeted a ClaudeDevs message: The Claude Security plugin can now run as a GitHub Action inside Claude Code. It checks for vulnerabilities in pull requests, provides fix suggestions that can be directly committed, and can also block merges. The message also mentions that it can triage issues found by scanners, reduce the attack surface, and view the scanning process in real time.

Claude Security plugin runs as a GitHub Action

Let's fill in the context first. Claude Code is Anthropic's coding tool, and GitHub Action is a CI workflow component of GitHub. Putting the security plugin into an Action means running a round of checks automatically before code merges, without requiring developers to install a scanner locally or wait until after merge to do a security review.

The pain point is straightforward. AI writing code speeds up submissions, but security review often still gets stuck on manpower and processes. Many teams run scans after merging and then go back to fix issues. Claude Security moves the check into the PR page, and fix suggestions can be directly committed, reducing the cost of switching tools back and forth. Blocking merges turns security from a hint into a gate.

From public information, what's more noteworthy is the workflow location and permission boundaries. Automatically giving fix suggestions and automatically blocking merges sounds convenient, but how to handle false positives, how to configure rule sets, how many repository permissions the Action gets, and whether blocking merges is default behavior or configurable—these details determine whether it can enter real teams. The message doesn't elaborate on which languages are supported, false negative/false positive data, or how it cooperates with existing scanners. These questions need to be clarified before launch.

For ordinary readers, it can be understood as adding an automatic security check to GitHub's PR process. For developers, focus on three things: how to triage scan results, whether fix suggestions can be safely committed, and whether the merge gate will block normal PRs. It solves the problem of putting security review into the pre-merge checkpoint. Security teams still need to handle rules, authorization, and false positive judgment.

Original post: https://x.com/addyosmani/status/2127576250160185762

发布时间: 2026-12-01 16:30