LLM Guard
the six Ws · specification
Maintained by Protect AI.
A security toolkit with input/output scanners for injection, toxicity, PII, secrets, and bias.
A Python library, self-hosted, optionally as an API service.
Reach for it when sanitizing prompts and completions around LLM calls.
Bundles many ready-made scanners so you harden LLM I/O without building each.
Uses Hugging Face transformer models and Presidio for detection.
Maintained by Protect AI; open-source (MIT) and fully self-hostable. Runs locally with local models by default, so prompts need not leave your infrastructure.
alternatives