AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Cybersecurity › garak
✦ Free & open sourceCybersecurity

garak

An LLM vulnerability scanner probing for hallucinations, data leakage, and prompt injection.

Garak: The LLM Vulnerability Scanner

Generative AI Red-teaming and Assessment Kit for probing LLM failures and weaknesses.

Free forever · open source · Apache-2.0
✓ Light setup✓ Browser-based✓ Real-time collaboration
8
ZEKAI
Essential LLM security scanner
Free & open source · Cybersecurity
Ease of setup6
Usefulness8
Maintenance9.5
Community8.5
★ 9,495
GITHUB
Oct 2026
UPDATED
Apache-2.0
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

Garak is a command-line tool that checks if large language models fail in unintended ways through static, dynamic, and adaptive probes. It is designed for security professionals and developers evaluating generative AI deployments.

Runs on
Cross-platform
Hosting
Desktop
Languages
Python
License
Apache-2.0

What it is

The tool probes for hallucinations, data leakage, prompt injection, misinformation, toxicity generation, and jailbreaks. It functions similarly to nmap or Metasploit, but is built specifically to explore weaknesses in LLMs and dialog systems.

Who it's for

It suits security engineers and AI practitioners testing model robustness prior to production deployment. It does not suit non-technical users looking for automated, one-click graphical web interfaces.

Key features

Static and dynamic probes

Combines multiple probe types to thoroughly explore LLM failure modes.

Broad model support

Connects to Hugging Face, OpenAI API, AWS Bedrock, Replicate, and custom REST endpoints.

Metasploit-style workflow

Brings traditional penetration testing concepts directly into the domain of generative AI.

How to start

Up and running in 3 steps

1
Install the tool from PyPI using python -m pip install -U garak.
2
Alternatively, install the development version directly from GitHub using pip.
3
Set up a dedicated Conda environment for managing dependencies if installing from source.
Real talk

Our honest verdict

What's great

  • Compares to nmap or Metasploit in methodology, making it familiar to security professionals.
  • Supports a wide array of backend LLM providers including Hugging Face, Bedrock, and OpenAI.
  • Probes for a comprehensive list of issues like prompt injection, toxicity, and data leakage.
  • Active development with multi-platform testing across Linux, Windows, and macOS.

Where it falls short

  • Requires using the command-line interface with its own specific set of dependencies.
  • Running extensive scans against commercial APIs can incur significant token usage costs.
  • Requires technical skill in security testing and Python environment management to configure properly.
Cost

Pricing & license

Free under its open source licence, with the only financial cost coming from running the software and any API usage fees incurred while scanning target models.

Paid work

Open remote AI-training roles

873 open remote AI-training roles, updated November 15, 2026; most pay $20–$170 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: garak for Cybersecurity
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure garak for you — and train your team.
Get it done for you ↗
Questions

FAQ

What does garak test for?

It probes for hallucinations, data leakage, prompt injection, misinformation, toxicity generation, and jailbreaks.

Which models can garak scan?

It supports Hugging Face models, Replicate, OpenAI API, AWS Bedrock, LiteLLM, local gguf models via llama.cpp, and general REST endpoints.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Cybersecurity — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google