security-guidance
What it does
A Claude Code plugin that reviews the code Claude writes, in three layers:
- Instant pattern warnings on edits for about 37 known-dangerous constructs, such as
yaml.load,pickle.loadon untrusted data, rawinnerHTMLand hardcoded secrets. - An LLM review of the diff when Claude finishes a turn, with high-severity findings fed back to Claude before you see the reply.
- An agentic reviewer on
git commitandgit pushthat reads related files to trace data flow, aimed at multi-file problems such as IDOR, auth bypass and cross-file SSRF.
Works with
Claude Code 2.1.144 or later, with Python 3.8+ on PATH.
Install
/plugin install security-guidance@claude-plugins-official
Repository
anthropics/claude-plugins-official, plugins/security-guidance
Check (2026-12-06)
- Licence: Apache-2.0
- Version: 2.0.23, bumped on 2026-12-04 after about a dozen merged fixes that day
- Stars: 49k; open issues: 1.1k (shields.io, 6 December 2026; both figures are for the whole marketplace repository)
- Maintainer: Anthropic
- Red flags: none unexplained. Things to know before installing:
- It registers hooks on session start, prompt submit, edits, and
git commitorgit push. - The first session installs the Agent SDK with
pipinto~/.claude/security/. - The LLM reviews use your Claude Code sign-in, or
ANTHROPIC_API_KEY/ANTHROPIC_AUTH_TOKENif set, and default to the newest Opus, so they cost usage.SECURITY_REVIEW_MODELselects a cheaper model.
- It registers hooks on session start, prompt submit, edits, and
Verdict: ok.