security-guidance · ccplugins — Claude Code plugin: what it does, how to install
security-guidance — a hook that speaks up while files are being edited, flagging possible security trouble such as command injection or XSS.
Apache-2.0 ★ 1,013 updated 2026-08-12
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install security-guidance@awesome-claude-code-pluginsWhat security-guidance does
The plugin puts a reminder hook inside Claude. As files get edited, it raises a warning when something risky turns up: command injection, XSS, unsafe code patterns.
It ships in the ccplugins/awesome-claude-code-plugins marketplace, so the marketplace comes first and the plugin second. After that the hook sits in the edit loop, and the notice arrives while work is happening.
The hook reminds, it does not decide. It points at a pattern that may be trouble, and working out what to do with it is on you. Ignoring the warning is easy, since the edit carries on either way.
What it helps with
- catch a command injection risk while a file is open
- flag XSS in a template as it gets written
- see a warning about unsafe code patterns during an edit
- keep security in view when editing unfamiliar code
Example prompts for the agent
- Add handling for the
idparameter inserver/routes/user.jsand warn me if it opens an injection risk. - Rewrite the comment renderer in
Comment.tsxand check it for XSS. - Fix the query builder in
db/query.pyand flag anything unsafe.
How to install security-guidance
Plugin marketplace
/plugin marketplace add ccplugins/awesome-claude-code-plugins/plugin install security-guidance@awesome-claude-code-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about security-guidance
How do I install security-guidance in Claude Code?
Add the marketplace first with /plugin marketplace add ccplugins/awesome-claude-code-plugins, then install the plugin: /plugin install security-guidance@awesome-claude-code-plugins.
What does security-guidance do?
It installs a reminder hook that warns about possible security problems whenever files are edited, so the issue surfaces while the code is still being written.
Which risks does the hook flag?
Command injection, XSS and unsafe code patterns.
Source text
security-guidance · Apache-2.0
Security reminder hook that warns about potential security issues when editing files, including command injection, XSS, and unsafe code patterns
© David Dworken · Apache-2.0 · ccplugins/awesome-claude-code-plugins
Similar plugins
All plugins for Security →security-guidance by other authors comes first.