@clawhub/input-guard
Scan untrusted external text (web pages, tweets, search results, API responses) for prompt injection attacks. Returns severity levels and alerts on dangerous content. Use BEFORE processing any text
Install
Add @clawhub/input-guard to Claude Code with the PolySkill CLI: polyskill add @clawhub/input-guard
Instructions
# 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 (de…
Keywords: prompt-injection, scanning, validation, ai-safety