AI Agents, News & Updates, Code Editors

Anthropic Ships Free Claude Code Security Plugin to Catch Vulnerabilities in Real Time

Anthropic's new Security Guidance plugin for Claude Code automatically scans code changes for injection flaws, unsafe deserialization, and 25+ dangerous patterns before they reach pull requests — free for all users on every plan.

3 min read
Anthropic Ships Free Claude Code Security Plugin to Catch Vulnerabilities in Real Time

Image by CWA

Anthropic Ships Free Claude Code Security Plugin to Catch Vulnerabilities in Real Time

Anthropic shipped a free Security Guidance plugin for Claude Code on May 26, garnering more than 157,000 downloads in its first 24 hours — a signal that developers running AI-generated code have been waiting for exactly this kind of safeguard.

The plugin integrates directly into Claude Code's development session and automatically scans code changes for common vulnerabilities across three distinct checkpoints: on file edits, after AI-generated changes, and at commit time. Developers do not need to launch a separate tool or run an additional command; once installed via /plugins in Claude Code, it runs quietly in the background on every session.

What the Plugin Actually Catches

The first review stage runs a fast, deterministic regex-based pattern match on every file edit — no model call, no usage cost. It flags roughly 25 dangerous constructs including eval(), new Function(), os.system(), child_process.exec(), pickle deserialization, and DOM injection vectors like dangerouslySetInnerHTML and .innerHTML=. Because this layer requires no AI inference, it adds zero overhead to the coding session.

The second stage triggers after Claude Code itself generates or modifies code, checking whether the AI's own output introduced a vulnerability. The third stage fires when Claude commits or pushes via its Bash tool, invoking a deeper agentic review powered by Claude Opus 4.7 that reads surrounding callers, sanitizers, and related files to reduce false positives.

"Across our internal rollout and benchmarks, we've seen a 30–40% decrease in security-related comments on PRs opened using the plugin," Anthropic said. "The plugin serves as a lightweight first pass, catching issues before a full code review."

Free for All Users, No Extra API Spend for Fast Checks

The plugin is available at no cost to every Claude Code user on every plan — Free through Enterprise. The fast regex layer at file-edit time does not consume Claude usage credits at all. Deeper end-of-turn and commit-time reviews draw from the same usage budget as standard requests, using Claude Opus 4.7 by default. Developers can override the model via the SECURITY_REVIEW_MODEL and SG_AGENTIC_MODEL environment variables.

The minimum requirements are Claude Code version 2.1.144 or later and Python 3.8 or newer.

The Security Guidance plugin is a different product from Claude Code Security, Anthropic's enterprise-grade codebase scanning service that launched as a limited research preview in February 2026 and expanded to a public beta for Enterprise customers in late April. That product uses full AI reasoning to scan entire repositories and surface logic-level flaws. The Security Guidance plugin is the always-on, lightweight companion for individual coding sessions — the first line of defense, not a replacement for deeper audits.

Part of a Broader Security Push

The plugin fits inside Anthropic's Project Glasswing initiative — a cross-industry effort involving AWS, Apple, Google, Microsoft, and others to secure critical software. An open-source reference implementation at anthropics/claude-code-security-review on GitHub accompanies the release, demonstrating agents autonomously hunting and patching issues including SQL injection, XSS, remote code execution via deserialization, insecure direct object references, and hardcoded credential detection.

Also this week, Anthropic put self-hosted sandboxes for Claude Managed Agents into public beta, allowing teams to keep tool execution entirely within their own infrastructure while the agent orchestration loop stays on Anthropic's servers. The pairing gives security-conscious teams a path to running Claude Code agents on sensitive codebases without files or repositories ever leaving their perimeter.

Developer Takeaway

For developers shipping production code with Claude Code, the Security Guidance plugin is the lowest-friction security upgrade available right now. Install it once via /plugins and it becomes a permanent background layer on every session going forward. The 157,000 downloads in the first 24 hours reflect how clearly the community recognized the value: AI coding assistants are generating and committing code fast enough that the security tooling around them needs to keep pace.

Share:

Other Latest News

Anthropic's Mythos Model Surfaces in Claude Code Ahead of Wider Release
AI Agents, News & Updates, Code Editors

Anthropic's Mythos Model Surfaces in Claude Code Ahead of Wider Release

Anthropic's most powerful restricted model, Claude Mythos 1, briefly appeared in Claude Code and Claude Security interfaces on May 25 — signaling the first commercial rollout of the model that found over 10,000 zero-day vulnerabilities under Project Glasswing.

May 26, 2026
Cursor Hits $3B ARR as Composer 2.5 Trains on SpaceX Hardware
News & Updates, Code Editors

Cursor Hits $3B ARR as Composer 2.5 Trains on SpaceX Hardware

Bloomberg reveals Cursor crossed $3B in annualized revenue in late April, with 3,000+ enterprise customers paying $100K+ annually — and Composer 2.5 already drawing on SpaceX's Colossus data centers.

May 22, 2026
SpaceX Files S-1, Triggering the $60B Cursor Acquisition Clock
News & Updates, Industry Analysis, Code Editors

SpaceX Files S-1, Triggering the $60B Cursor Acquisition Clock

SpaceX's IPO prospectus, filed May 20, formally discloses the $60B Cursor acquisition terms and sets a ~July close timeline — raising hard questions about model neutrality, compute access, and developer data privacy.

May 22, 2026
OpenAI Reasoning Model Cracks 80-Year Math Problem, Signaling Codex Leap
AI Agents, News & Updates

OpenAI Reasoning Model Cracks 80-Year Math Problem, Signaling Codex Leap

An internal OpenAI general-purpose reasoning model disproved a famous Erdős conjecture open since 1946 — a first for autonomous AI in frontier mathematics, with direct implications for what is coming to Codex and agentic coding tools.

May 21, 2026
SpaceX IPO S-1 Locks In $60B Cursor Acquisition in Stock
News & Updates, Code Editors

SpaceX IPO S-1 Locks In $60B Cursor Acquisition in Stock

SpaceX's IPO prospectus reveals for the first time that the $60B Cursor acquisition will be paid in SPCX Class A stock — not cash — and that SpaceX has no formal obligation to close the deal.

May 21, 2026
Google Launches Gemini 3.5 Flash and Antigravity 2.0 at I/O
AI Agents, News & Updates, Code Editors

Google Launches Gemini 3.5 Flash and Antigravity 2.0 at I/O

Google unveiled Gemini 3.5 Flash and Antigravity 2.0 at I/O 2026 — a 4x-faster agentic model and a new agent-first coding IDE that puts Google in direct competition with Claude Code and OpenAI Codex.

May 21, 2026
← Scroll for more →