Plugin Official

security-guidance

Security review for Claude-written code: pattern warnings, LLM diff review on Stop, agentic commit review.

Author
Anthropic
Works with
Claude Code
License
Apache-2.0
Documented
Oct 2, 2026

What security-guidance is

Three layers: regex warnings on Edit/Write for ~25 dangerous patterns, a fast-LLM diff review at turn end, and an SDK-driven reviewer on git commit.

What it does

How security-guidance plugs in: which agents run it and what it addsRUNS INYour agentClaude Codeone host documentedPLUGIN · OFFICIALsecurity-guidanceBundles of skills, commands, hook…4 install steps1 permission notelicense: Apache-2.0WHAT IT ADDSWhat it doesWarns on yaml.load, pickle.load,…Reviews diffs when Claude finishe…Agentic commit review traces cros…Configured via environment variab…agent → extension → new capability · from the official repository or docs
Where security-guidance runs and what it adds, from its documentation
  • Warns on yaml.load, pickle.load, innerHTML, hardcoded secrets etc.
  • Reviews diffs when Claude finishes a turn
  • Agentic commit review traces cross-file data flow (IDOR, auth bypass, SSRF)
  • Configured via environment variables

When to use it

Good fit

  • Catching vulnerabilities in AI-generated code

Not for

  • Replacing a full security audit

How to install security-guidance

You need: Claude Code CLI >= v2.1.144; Python 3.8+ on PATH; Working API path (subscription, API key or 3P provider)

  1. Marketplace ships enabled by default in Claude Code; or browse via /plugin > Discover
  2. Install: /plugin install security-guidance@claude-plugins-official
  3. Run the plugin's commands/agents as described in its README
  4. Trust check: Anthropic warns to trust a plugin before installing, as it cannot verify included MCP servers, files or software

Permissions and security

What it can access

  • Runs inside Claude Code; commands, agents and hooks use Claude Code's tool permissions (see plugin README for specifics)

Security notes from the maintainers

  • Marketplace README: make sure you trust a plugin before installing, updating, or using it

Review the source before granting an agent access to credentials or production systems. We document what the maintainers state; we do not audit code.

Tools it extends

Frequently asked questions

How do I install the security-guidance plugin?

Run /plugin install security-guidance@claude-plugins-official in Claude Code. source

Is the security-guidance plugin made by Anthropic?

Yes, it is listed under /plugins (internal plugins developed by Anthropic) in the claude-plugins-official repo. source

What does the security-guidance plugin add to Claude Code?

Security review for Claude-written code: pattern warnings, LLM diff review on Stop, agentic commit review. source

Related guides

Sources and gaps

Not stated by the maintainers: last_release (not read); limitations not stated in README; version 2.0.8 per plugin.json.

More extensions to look at