zhaoxinghua09-cell

Prompt Injection Guard — Development skill for Claude Code

Development community

Detect prompt injection, hardcoded secrets, destructive commands and exfiltration patterns in any text or file.

How to install Prompt Injection Guard

This entry records only its repository, not the path inside it, so there is no exact command to give. Open zhaoxinghua09-cell/prompt-injection-guard and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Prompt Injection Guard does

Detect prompt injection, hardcoded secrets, destructive commands and exfiltration patterns in any text or file. 检测提示注入、硬编码密钥、破坏性命令与数据外泄模式。

Alternatives in Development

  • Sanitize — Detect and redact PII from text files — 15 categories (SSNs, credit cards, API keys, etc.), zero dependencies 3.1k ★
  • Careful — Activate destructive command warnings for the session 2.8k ★
  • SwiftUI Microinteractions — One command in Claude Code, Cursor, or Codex and your agent already knows the physics, the spring curves, and 110 ★

README

Prompt Injection Guard (提示注入检测器)

**Fail-closed prompt injection / malicious-instruction scanner with threat taxonomy.** **基于威胁分类法的提示注入/恶意指令扫描器,fail-closed。**

[![LGD VERIFIED](https://img.shields.io/badge/LGD%20VERIFIED-100%2F100-2563eb)](https://github.com/zhaoxinghua09-cell/prompt-injection-guard) [![License](https://img.shields.io/badge/License-MIT-green)](LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen)](CONTRIBUTING.md)

Usage / 用法

python scripts/prompt_guard.py  [--json] [--badge out.svg]

License

MIT (code) · All rights reserved (SKILL.md theory text). © 2026 Steven Zhao / SynomosAI.