input-guard
Installation
SKILL.md
Input Guard — Prompt Injection Scanner for External Data
Scans text fetched from untrusted external sources for embedded prompt injection attacks targeting the AI agent. This is a defensive layer that runs BEFORE the agent processes fetched content. Pure Python with zero external dependencies — works anywhere Python 3 is available.
Features
- 16 detection categories — instruction override, role manipulation, system mimicry, jailbreak, data exfiltration, and more
- Multi-language support — English, Korean, Japanese, and Chinese patterns
- 4 sensitivity levels — low, medium (default), high, paranoid
- Multiple output modes — human-readable (default),
--json,--quiet - Multiple input methods — inline text,
--file,--stdin - Exit codes — 0 for safe, 1 for threats detected (easy scripting integration)
- Zero dependencies — standard library only, no pip install required
- Optional MoltThreats integration — report confirmed threats to the community