Anthropic Launches Claude Security Plugin to Let Claude Review Its Own Code in Terminal Workflow

Anthropic has released the Claude Security plugin in beta, embedding it directly into the Claude Code terminal workflow so developers can scan uncommitted changes or run full repository scans without switching tools. The plugin uses a multi-agent system that reads code, maps architecture, identifies potential threats, and verifies findings to reduce false positives before suggesting style-matched patches. Unlike traditional rule-based scanners, it focuses on cross-file logic issues, memory corruption, injection flaws, authentication bypasses, and complex business logic errors by analyzing Git history and data flows. Early users praise the verification step that builds trust, though Anthropic provides no public false-positive or false-negative statistics yet. The tool deliberately avoids automatic commits, requiring human review for every fix, and integrates with Slack, Jira, CSV, and Markdown exports for existing security workflows. Costs can rise with large scans due to token usage, making incremental or directory-limited scans more practical for teams. Overall, the release represents an effort to add researcher-level AI analysis into daily development cycles as a supplement rather than a replacement for SAST, DAST, or human security teams.

安全客Translated from Chinese

Read at source

Anthropic has introduced the Claude Security plugin in beta, integrating it directly into the Claude Code terminal workflow. Developers who finish a feature with Claude Code now see an option to let the AI scan the code for vulnerabilities it may have introduced before committing.

How the Plugin Operates

Traditional rule-based scanners rely on matching known vulnerability patterns, which produces high false-positive rates and misses logic flaws. Claude Security instead uses a multi-agent system: it first reads the code and maps the architecture, then identifies potential threat points, and finally verifies suspicious findings to filter out false positives. The plugin generates patch suggestions that match the project’s existing coding style rather than generic alerts.

Every proposed fix must be reviewed and approved by a human; the tool never commits changes automatically. This design keeps the developer in control while adding an extra layer of analysis inside the existing command-line workflow.

Addressing Gaps in Traditional Tools

The plugin targets severe vulnerability classes that rule-based scanners often overlook, including memory corruption, injection defects, authentication bypasses, and complex logic errors. It excels at cross-file issues where data flows from one file to another and is incorrectly trusted in a business branch. By reading Git history and tracing data flows across files, the system reasons about whether a potential issue is actually exploitable instead of applying mechanical pattern matching.

Limitations and Practical Considerations

The feature remains in beta, and Anthropic has not published quantitative data on false-positive or false-negative rates. Large full-repository scans can consume significant tokens and occasionally switch to more expensive models, so teams are advised to limit scans to changed directories or use scheduled incremental checks. The company positions the tool as a supplement to existing SAST, DAST, and human security processes rather than a replacement.

Recommended Daily Usage

The most cost-effective approach is to run the scanner on uncommitted diffs before each commit. Results can be forwarded via webhook to Slack or Jira, exported as CSV or Markdown for audit trails, and dismissed findings are tracked to prevent repeated review. This workflow raises the security baseline for small teams and open-source maintainers who lack dedicated security staff.

Broader Implications of AI Reviewing AI-Generated Code

The release highlights an emerging pattern in which the same AI capabilities used to generate code are now applied to detect vulnerabilities created by that generation process. While the approach can surface issues traditional tools miss, Anthropic emphasizes that human oversight remains essential and that token costs must be managed. The long-term impact on code security will depend on real-world performance data gathered during the beta period.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in AI Security

Logical Argument Claims Full Alignment of Superintelligent AGI Is Fundamentally Impossible
Claude Account Bans Linked to IP Reputation, Device Environment and Payment Channels, But No Confirmed Formula
Local LLMs in AppSec: What Open Tools and Models Can Handle in Application Security