Anthropic has released the Claude Security plugin for Claude Code in beta. The plugin runs a multi-agent vulnerability scan of a repository from inside an existing Claude Code session, then turns the findings you select into patch files that you review and apply yourself. Anthropic emphasized the tool’s versatility upon announcement, highlighting its capability to either run a comprehensive scan across the full codebase or inspect changes from the terminal right before a commit.

What plugin adds

The plugin adds a single command, /claude-security, which opens a menu of three jobs, per the official documentation:

Scan codebase — the whole repository or a scoped subset of it

Scan changes — a branch’s diff, a pull request’s diff, or a single commit