The Security Toolkit for LLM Interactions
LLM Guard is a security toolkit for Large Language Model interactions developed by Protect AI, designed to sanitize inputs, detect harmful language, prevent data leakage, and defend against prompt injection attacks. The project is built in Python and provides both input and output scanners covering concerns like toxicity, prompt injection, code detection, secrets exposure, and bias. LLM Guard is installable via pip and can be deployed as an API or integrated directly with services like ChatGPT, though the project is no longer under active development as it has been archived.