prompt-injection-sanitizer
Deterministic, dependency-free prompt-injection defense: regex detection, Unicode normalization, anti-typoglycemia, anti-leetspeak, data-tag escaping, and risk scoring.
Installation
In a virtualenv (see these instructions if you need to create one):
pip3 install prompt-injection-sanitizer
Dependencies
- None
Releases
| Version | Released | Bookworm Python 3.11 |
Trixie Python 3.13 |
Files |
|---|---|---|---|---|
| 0.1.1 | 2026-06-18 | |||
| 0.1.0 | 2026-06-18 | |||
Issues with this package?
- Search issues for this package
- Package or version missing? Open a new issue
- Something else? Open a new issue