Tool · curated 29 Jun 2026

prompt-injection-defense

Coverage timeline

29 Jun 2026pypi.org

Single-source advisory — first reported, latest, and curated coincide.

Why it matters

Defenders building LLM applications can use this runnable library to detect and guard against prompt injection and jailbreak attempts.

prompt-injection-defense is a Python package (pip install prompt-injection-defense) providing lightweight detection of prompt injection, jailbreaks, indirect injection, obfuscation, and unsafe content aligned to the OWASP LLM Top 10. It is an installable, MIT-licensed library maintained by Rajat Ghosh.