CoolFace
Apppublic

mukunda1729/prompt-injection-shield-demo

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes
App README

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

License

MIT