Skip to main intelligence content
SOURCES: CISA KEV + NIST NVD 2.0 + FIRST EPSS
LOOT & EXPLOITS
DEFENSIVE VULN & TOOL TRIAGE

PAID STACK WATCH · $99/year or $12/month

Back to The Loot Arsenal
Last Verified: 2026-11-12
AI & AUTOMATIONAI security toolsActive

Garak

LLM vulnerability scanner and red-teaming framework

LicenseApache-2.0
Difficulty LevelIntermediate
Supported OSLinux, Windows, macOS
Verification Date2026-11-12

WHAT IS IT?

Garak (Generative AI Red-teaming & Assessment Kit) is an open-source LLM vulnerability scanner developed by security researchers and hosted under NVIDIA's GitHub organization. It systematically probes language models and LLM-backed endpoints for security failure modes.

WHY USE IT? // PRACTICAL USE CASES

Deploying LLMs with access to internal APIs, databases, or browser rendering without testing for indirect prompt injection or XSS output rendering introduces severe application risk. Garak automates structured adversarial probing across local and remote models.

Verified Operational Use Cases:
  • [1] Auditing internal LLM applications for indirect prompt injection vulnerabilities
  • [2] Testing RAG and agentic tool-use pipelines for unauthorized action triggers
  • [3] Evaluating markdown/HTML output sanitization for XSS payload passthrough
  • [4] Generating reproducible JSONL security evaluation reports across model versions

HOW DO I GET IT? // SAFE INSTALLATION GUIDANCE

Install in an isolated Python virtual environment (`python -m venv .venv && .venv/bin/pip install garak`) from PyPI or directly from `github.com/NVIDIA/garak`.

Supply-Chain Hygiene: Always verify package signatures via your OS package manager or validate SHA-256 digests on official release artifacts. Never pipe uninspected remote shell scripts into `sudo sh`.

HOW DOES IT WORK? // INTERNAL ARCHITECTURE OVERVIEW

Garak orchestrates 'probes' (structured attack generators for injection, encoding bypass, package hallucination, XSS) against a 'generator' (local Ollama/llama.cpp, OpenAI-compatible API, HuggingFace) and evaluates responses with 'detectors' to produce pass/fail telemetry.

RELATED & COMPLEMENTARY TOOLS

RELATED THREAT RESEARCH

No direct CVE relationship asserted. We never invent artificial relationships between general-purpose utilities and unrelated CVEs.