← All repos

llm-guard

The Security Toolkit for LLM Interactions

adversarial-machine-learningchatgptlarge-language-modelsllmllmopsllm-securityprompt-engineeringprompt-injectionsecurity-toolstransformers
Browse cluster: Claude AI Agent Frameworks & MCP Tools
518commits
25contributors
4languages

Tech stack & purpose

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.

Languages

Python
99.0%
Makefile
0.6%
Dockerfile
0.3%
Shell
0.1%

Contributors