Reviews generated code for security vulnerabilities using pattern warnings, LLM diff review, and agentic commit review. Catches injection, XSS, SSRF, hardcoded secrets, unsafe deserialization, and more.
Ships in security-guidance. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Security review for generated code. Three layers:
Edit/Write for ~25 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.Findings cover common web-vulnerability classes — injection, XSS, SSRF, hardcoded secrets, IDOR, auth bypass, unsafe deserialization, and path traversal among others.
All configuration is via environment variables. None are required for default behavior.
SECURITY_REVIEW_MODEL controls the LLM diff review. SG_AGENTIC_MODEL controls the agentic commit reviewer.
Kill switches:
SECURITY_GUIDANCE_DISABLE=1ENABLE_PATTERN_RULES=0ENABLE_CODE_SECURITY_REVIEW=0ENABLE_STOP_REVIEW=0ENABLE_COMMIT_REVIEW=0Higher-recall mode:
SG_DUAL_OR=on
Drop a claude-security-guidance.md in ~/.claude/ or <project>/.claude/ to apply organization rules to the security review.
What SKILL.md sets; muted values are Claude Code's defaults
/security-guidance:security-guidancefrom security-guidance
npx claudepluginhub andersonlimahw/lemon-ai-hub --plugin security-guidanceOther plugins' skills for the same job