Library · published 2026-02-04 · added 2026-09-05 · github.com

Prompt Guard

What it is

A Python library providing composable prompt-safety guards using TF-IDF, RAG, and LLM judges. It allows users to configure a pipeline to check prompts against known phrases, embedding-based corpora, or local LLM models.

The problem it solves

Lack of lightweight, composable tools for detecting prompt injection and unsafe content in LLM applications.

What you could use it for

prompt-injectionllm-safetypythonsecurity

Read the source ↗Back to the library →

Summary written by an AI model from the source; check the source before you rely on it.