garak
Apache-2.0โก Vulnerability Scanning ยท Python
garak is a vulnerability scanner specifically designed for Large Language Models, developed by NVIDIA. It probes LLMs for weaknesses including prompt injection, jailbreaking, training data leakage, hallucination, toxic generation, and other failure modes. garak ships with dozens of probe modules targeting specific vulnerability classes and supports custom probe development. It works with OpenAI, Hugging Face, local models, and any API-compatible endpoint. Results include detailed reports on which attacks succeeded, confidence scores, and categorization by risk type. Essential for red-teaming AI systems before deployment and validating safety guardrails.
Installation
$ pip install garakUse Cases
- Red-teaming LLM deployments for vulnerabilities
- Testing prompt injection resistance
- Detecting training data leakage from models
- Validating AI safety guardrails before production
Tags
Details
- Category
- โก Vulnerability Scanning
- Language
- Python
- Repository
- NVIDIA/garak
- License
- Apache-2.0
- Platforms
- ๐งlinux๐macos๐ชwindows
Links
Community Reviews
Alternatives & Comparisons
More in Vulnerability Scanning
Nuclei
GoFast vulnerability scanner driven by YAML templates. Thousands of community-contributed detection templates.
sqlmap
PythonAutomatic SQL injection and database takeover tool. Detects and exploits SQL injection flaws.
WPScan
RubyWordPress security scanner. Enumerates plugins, themes, users, and checks for known vulnerabilities.
OpenVAS
CFull-featured vulnerability scanner. 50,000+ NVTs, credentialed scanning, compliance checks.
XSStrike
PythonAdvanced XSS detection suite. Fuzzing engine, context analysis, and WAF detection/bypass capabilities.
Commix
PythonAutomated OS command injection exploitation tool. Tests web apps for command injection vulnerabilities.