mukunda1729/prompt-injection-shield-demo
0
Prompt Injection Shield Live Scanner
Interactive demo of two zero-dependency Python libraries that scan retrieved text before it reaches your LLM:
- `prompt-injection-shield-py` — small-rule scanner for instruction overrides, system-prompt impersonation, tool-call hijack, URL exfil, and secret patterns
- `vector-poison-score` — heuristic poison score (oversize, secrets, link clusters, mixed-language anomalies) for retrieved chunks
Companion artifacts
- Preprint Zenodo DOI 10.5281/zenodo.20057056 (CC BY 4.0)
- GitHub Action MukundaKatta/rag-guardrails-action
- JS siblings `@mukundakatta/prompt-injection-shield`, `@mukundakatta/vector-poison-score`
License
MIT
