# security-guidance

security-guidance — a Claude Code hook flags possible security trouble while files are edited, including command injection, XSS, and risky code patterns.

- plugin · `type=plugin` · Claude Code · ★ 2003 repo stars
- Author: Community
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/composio-community/awesome-claude-plugins/tree/HEAD/security-guidance
- Updated: 2026-07-26
- Security check: automated, 2026-11-16 (text and 3 script files) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/plugins/community-security-guidance

## What it does

This plugin adds a security reminder hook to Claude Code. While a file is being edited, it can flag possible shell-command injection, cross-site scripting, and other risky coding constructs.

The warning appears during the edit itself, so the issue is surfaced alongside the code change. Its role is to point out potential security trouble rather than replace a separate security review. The hook is tied to file editing in Claude Code.

## Install

### Claude Code (native platform)

**Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add composio-community/awesome-claude-plugins
```
In the agent chat (not a shell):
```text
/plugin install security-guidance@awesome-claude-plugins
```

## When to use it
- spot command-injection risks during code changes
- catch possible XSS in edited files
- flag unsafe coding patterns
- surface security warnings while editing

## Example prompts
- Edit `server.js` and check the change for command-injection risks.
- Update the page template and watch for possible XSS.
- Change the request handler and check it for unsafe code patterns.

## Similar
- [top-web-vulnerabilities](https://affpapa.org/en/nevibecode/skills/top-web-vulnerabilities.md) — skill · 1019 installs
- [security-auditor](https://affpapa.org/en/nevibecode/skills/ovachiever-security-auditor.md) — skill · 784 installs
- [Next.js Security Scan](https://affpapa.org/en/nevibecode/skills/nextjs-security-scan.md) — skill · 580 installs
- [skill-file-security](https://affpapa.org/en/nevibecode/skills/skill-file-security.md) — skill · 784 installs
- [auditing-security](https://affpapa.org/en/nevibecode/skills/auditing-security.md) — skill · 647 installs
- [security-testing](https://affpapa.org/en/nevibecode/skills/proffesor-for-testing-security-testing.md) — skill · 152 installs

## Other versions with the same name
- [security-guidance · anthropics](https://affpapa.org/en/nevibecode/plugins/security-guidance.md) — ★ 47914 repo stars
- [security-guidance · alirezarezvani](https://affpapa.org/en/nevibecode/plugins/alireza-rezvani-security-guidance.md) — ★ 30251 repo stars
- [security-guidance · rohitg00](https://affpapa.org/en/nevibecode/plugins/rohitg00-security-guidance.md) — ★ 2858 repo stars
- [security-guidance · ccplugins](https://affpapa.org/en/nevibecode/plugins/david-dworken-security-guidance.md) — ★ 1013 repo stars

From the same set: [composio-community/awesome-claude-plugins](https://affpapa.org/en/nevibecode/by/composio-community/awesome-claude-plugins.md) — 68 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
