ai-injection-guard

Lightweight prompt injection detector + LLM output scanner. 75 input patterns + output scanning for secrets, PII, system prompt leakage, hallucinated URLs, and code safety. Zero ML dependencies.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install ai-injection-guard

Dependencies

  • None

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Trixie
Python 3.13
Files
0.3.0 2026-03-14      
0.2.1 2026-03-14      
0.2.0 2026-03-08      
0.1.0 2026-02-28      

Issues with this package?

Page last updated 2026-03-14 15:50:47 UTC