Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By anthropics Verified Orgv2.0.23Apache-2.0In 15 marketplaces
Flags insecure code in Claude's edits and feeds high-severity findings back so Claude fixes them before you see the reply. Hooks send diffs and related file contents to a model endpoint, and need Python 3.8+ on PATH.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
15 marketplaces, most starred first
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Security review for Claude-generated code. Three layers:
Edit/Write for ~37 known-dangerous patterns (yaml.load, torch.load(weights_only=False), pickle.load on untrusted data, raw innerHTML, hardcoded secrets, etc.).git commit, an SDK-driven reviewer reads related files (Read/Grep/Glob) to trace data flow across the codebase, catching multi-file vulnerabilities pattern matching misses (IDOR, auth bypass, cross-file SSRF).Findings cover common web-vulnerability classes — injection, XSS, SSRF, hardcoded secrets, IDOR, auth bypass, unsafe deserialization, and path traversal among others.
/plugin install security-guidance@claude-plugins-official
Marketplace ships enabled by default in Claude Code — no setup beyond having the CLI itself.
PATH (python3, python, or py -3 — the plugin picks the first that works)All configuration is via environment variables. None are required for default behavior.
By default both reviews run on the newest Claude Opus, and move to the next one when it is released — there is no model version to bump:
GET /v1/models) which Opus models it serves and uses the newest. The answer is cached for a day in the plugin's state directory.claude-opus-5-5 (retrying on claude-sonnet-5-5), and the agentic commit reviewer uses Claude Code's opus alias. When it does use the listed Opus, the agentic commit reviewer runs at medium effort unless you set CLAUDE_CODE_EFFORT_LEVEL./login also does, and they use Claude Code's opus and sonnet aliases. On Bedrock, Vertex, and Foundry reviews use those aliases too, through the copy of Claude Code bundled with the Agent SDK, or SG_AGENTIC_CLI_PATH if set. On Windows the agentic commit reviewer runs through the bundled copy too, unless SG_AGENTIC_CLI_PATH is set. Where the Agent SDK has no bundled copy for Windows, those reviews run through ~\.local\bin\claude.exe, or else a claude.exe on PATH; if there is neither, set SG_AGENTIC_CLI_PATH. If you set ANTHROPIC_DEFAULT_OPUS_MODEL, the agentic commit reviewer uses the opus alias so that setting applies. On a gateway that alias may name an older Opus than the newest one.pip into ~/.claude/security/. If that fails, the plugin tries again after 10 minutes and doubles the wait after each failure, up to 4 hours (an hour if pip ran out of time, a day if it was killed). Once the cause is fixed, delete agent-sdk-venv.failed, agent-sdk-venv.timeout and agent-sdk-venv.cooldown in that folder, if they are there, to have it tried again in the next session.To pin a model, or to use a cheaper one:
# 1P / gateway: a canonical model id
SECURITY_REVIEW_MODEL=claude-opus-5-5
# Bedrock: use the inference-profile id
SECURITY_REVIEW_MODEL=us.anthropic.claude-opus-5-5
# Vertex / Foundry: the provider's model id
SECURITY_REVIEW_MODEL=claude-opus-5-5
SECURITY_REVIEW_MODEL controls the LLM diff review. SG_AGENTIC_MODEL (same syntax) controls the agentic commit reviewer.
The pattern warnings need no credentials. The LLM reviews (the diff review on Stop and the commit/push reviewer) use the first of these that applies:
7-day copy clicks
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
AnalysisNov 12, 2026 · 3 min
A copy of Anthropic's security-guidance plugin, signed "Anthropic", out-drew the real one here. Claude Code only caught it by name. Check the GitHub owner.
ExplainerOct 29, 2026 · 3 min
claude plugin install security-guidance@claude-plugins-officialBy default its Stop hook sends each turn's diff to Opus on your API key or plan limits, and commits get a second review. How to read the cost and turn it off.