Anthropic just shipped a tool that essentially acts as a security-conscious co-pilot sitting inside your terminal. The company’s new security-guidance plugin for Claude Code automatically reviews code as it’s generated or edited, flagging common vulnerabilities before they ever make it to production.

The plugin, available by default through the Anthropic marketplace, uses regex-based pattern matching to catch approximately 25 dangerous code patterns. Think unsafe loading practices, hardcoded secrets, and the kinds of mistakes that make penetration testers smile. When it spots something, Claude prompts corrections within the same coding session, meaning developers don’t need to context-switch to a separate security tool.

How the plugin actually works

The security-guidance plugin runs inside Claude Code’s terminal-based environment, reviewing code in real time as it’s written or modified. The pattern detection covers hardcoded API keys, insecure deserialization, improper input validation, and other vulnerabilities that account for a disproportionate share of real-world breaches.

Because the plugin integrates directly into the coding session, Claude can suggest fixes immediately. The developer sees the warning, reviews the suggested correction, and moves on.