Skip to main content
plugin

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install security-guidance@awesome-claude-code-plugins
Open on GitHub

What 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 id parameter in server/routes/user.js and warn me if it opens an injection risk.
  • Rewrite the comment renderer in Comment.tsx and check it for XSS.
  • Fix the query builder in db/query.py and 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-plugins

Step 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.

security-guidance official Anthropic security-guidance — a Claude Code plugin that reviews generated code in three layers. Regex warnings fire on edits, an LLM checks the diff after every turn, and an agentic reviewer walks related files before commits. ★ 47,914repo stars security-guidance Alireza Rezvani security-guidance — a PreToolUse hook for Claude Code flags common insecure patterns before file edits happen. It fits security checks inside an active coding session. ★ 30,251repo stars security-guidance Community security-guidance — a Claude Code hook flags possible security trouble while files are edited, including command injection, XSS, and risky code patterns. ★ 2,003repo stars security-guidance rohitg00 security-guidance — a plugin that spots vulnerabilities in your code and suggests fixes. Useful when you want to catch security problems before they reach review. ★ 2,858repo stars security-auditor ovachiever security-auditor scans your code for OWASP Top 10 patterns: SQL injection, XSS, exposed secrets, broken auth. Fires on file changes and before deployments. CX Codex +1 784installs fix-security-vulnerabilities-with-strix usestrix The fix-security-vulnerabilities-with-strix skill triages validated Strix findings, fixes their root causes, and runs Strix again to verify the result. Use it after a CLI or cloud scan. CX Codex +1 20,300installs frontend-security-coder sickn33 The frontend-security-coder skill for Claude Code secures client-side code and blocks interface vulnerabilities. It activates during frontend hardening and XSS mitigation tasks. CX Codex +1 2installs laravel-security affaan-m The laravel-security skill reviews Laravel authentication, Eloquent safety, CSRF, XSS, APIs, and production settings. Use it for security reviews or deployment checks. CX Codex +1 7,500installs security cognitedata security walks a Flows app step by step, finds leaked secrets, unsafe DOM calls and auth gaps, then fixes each one in place. CX Codex +1 1,900installs drupal-security madsnorgaard drupal-security — a coding-agent skill that nudges you toward safe Drupal patterns: parameterized queries, escaped output, permission checks. It activates on its own while you write forms, controllers or handle user input. CX Codex +1 933installs

From the same set184

The whole set →

Project sponsors

Companies that keep this analytics open