AI Compliance Index logoAI Compliance Index
ChatDirectoryJobsBlogAI Prompt Library
Submit a Tool→

AI Compliance Index · built for humans and agents

mcp_endpointagent_context · online
/llms.txt/api/public/tools/sitemap.xml/aboutChatJobsDisclaimer & AI DisclosurePrivacyTermsContactChangelog
  1. Directory/
  2. Enterprise Security & Guardrails/
  3. LLM Guard
LG

LLM Guard

Open SourceEnterprise Security & Guardrails

Archived open-source toolkit of 35+ input/output scanners. Read-only since Jul 2026 after Palo Alto Networks folded Protect AI into Prisma AIRS.

Last verified 2026-07-20

Visit Site GitHub

tl;dr

  • Widest scanner selection in open source — one dependency covers PII, secrets, toxicity, bias, and injection checks.
  • Fully self-hosted: the choice when data cannot leave your environment, at the cost of owning latency and tuning.
  • Backed by Palo Alto Networks (via Protect AI) since 2025 — maintenance risk is low.
  • Calibrate scanner thresholds against real traffic; defaults are starting points, not policy.

editorial take

LLM Guard is the utility knife of the open-source stack: 35+ scanners you chain into whatever sanitization pipeline your threat model needs — PII, secrets, toxicity, bias, code detection, injection heuristics — all running in your infrastructure with zero data egress. The Protect AI acquisition by Palo Alto Networks in 2025 put a major vendor behind its maintenance without closing the source.

The trade-off is operational: you own model downloads, latency tuning, and scanner threshold calibration. Teams that underinvest in calibration get either alert fatigue or silent gaps; the scanners are only as good as the thresholds you set against your own traffic.

overview

LLM Guard, maintained under Protect AI (now part of Palo Alto Networks), chains security scanners as middleware around any LLM call. With more than 35 scanners spanning PII, secrets, toxicity, bias, and code detection, it offers the broadest open-source scanning coverage available, with full data control since everything runs in your infrastructure.

- 35+ chainable input and output scanners - Secrets and PII detection with redaction - Prompt-injection and jailbreak heuristics - Self-hosted; no data leaves your environment

core features

  • 35+ chainable input and output scanners
  • Secrets and PII detection with redaction
  • Prompt-injection and jailbreak heuristics
  • Self-hosted; no data leaves your environment

target frameworks

GDPR

pricing

Open Source

compliance badges

OWASP LLM Top 10

website

protectai.com/llm-guard

last verified

2026-07-20

faq

LLM Guard — frequently asked questions

How much latency does LLM Guard add?
Depends entirely on which scanners you chain and whether transformer-based scanners run on GPU. Regex and pattern scanners are sub-millisecond; ML scanners (toxicity, injection classifiers) add tens to hundreds of milliseconds on CPU. Most production teams split the chain: fast scanners inline, heavy scanners async on output logging.
LLM Guard vs Lakera Guard?
Same problem, opposite operating models. LLM Guard: open source, self-hosted, you tune it, data never leaves. Lakera: managed API, continuously retrained detectors, someone else runs the ops. Sovereignty-constrained teams pick LLM Guard; teams optimizing for detection freshness against live attacks pick Lakera.
Does the Palo Alto acquisition change anything for OSS users?
The repository remains open source under Protect AI stewardship. The realistic long-term effect is that advanced capabilities ship into the commercial Prisma AIRS line while the OSS core stays maintained — the standard playbook when a security major acquires an OSS project.

finder.exe

Not sure which tool fits your stack? Answer 3 questions.

▶ Run the finder

compare with

Same-category comparisons with an editorial overview on both sides.

  • vs Credo AI→
  • vs Guardrails AI→
  • vs Lakera Guard→
  • vs NeMo Guardrails→