
security-guidance
PreToolUse security reminder hook for Claude Code. Catches 12 common security anti-patterns in Edit/Write/MultiEdit operations BEFORE they happen — command injection (exec, os.system, subprocess shell=True), XSS (innerHTML, dangerouslySetInnerHTML, document.write), SQL injection (f-string queries, .format), unsafe deserialization (pickle, yaml.unsafe_load), code injection (eval, new Function), and GitHub Actions workflow injection. Session-state caching prevents duplicate warnings; 30-day auto-cleanup. Disable per-session with ENABLE_SECURITY_REMINDER=0. Ported from David Dworken at Anthropic.
- version
- 2.14.5
- GitHub stars
- 29.6K
Install
/plugin install security-guidance@claude-code-skillsRun it inside Claude Code after adding the marketplace with /plugin marketplace add alirezarezvani/claude-skills.
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Marketplace
- alirezarezvani/claude-skills
- Source
- engineering/security-guidance
- Author
- Alireza Rezvani
- Category
- Development
- Keywords
- security, hook, pretooluse, command-injection, xss, sql-injection, eval, pickle, engineering, static-analysis
More from alirezarezvani/claude-skills
All 121- self-improving-agentv2.14.11
- skill-doctorv2.14.1
- skill-retrov2.14.6
- skill-security-auditorv2.2.0
- skillopt-sleepv2.14.5
- slo-architectv2.14.5
- snowflake-developmentv2.14.5
- spinning-up-deep-rlv2.14.6
- statistical-analystv2.14.9
- swedish-mentorv2.14.5
- syllabusv2.14.6
- terraform-patternsv2.14.6
- universal-scraping-architectv2.14.9
- video-content-strategistv2.14.5
- vpe-advisorv2.14.5
- weekly-reviewv2.14.5
- workflow-builderv2.14.5
- write-a-skillv2.14.9
- youtube-fullv2.14.5
- zero-hallucination-coderv2.14.5
- a11y-auditv2.14.5
- access-lifecyclev2.14.5
- aeov2.14.6
- agent-harnessv2.14.11