head to head · open source
garak vs sapper-v2
garak has 10,004 GitHub stars, 1,467 forks, 429 open issues and last shipped 7 days ago. sapper-v2 has 2,018 stars, 1,029 forks, 3 open issues and last shipped 2 days ago. garak leads on adoption by 396% (10,004 vs 2,018 stars). garak is written in Python under Apache-2.0; sapper-v2 is written in Python under MIT. garak has attracted 15% as many forks as stars, sapper-v2 51%. sapper-v2 was the more recently maintained of the two, and both are self-hostable with no licence fee.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| garak | sapper-v2 | |
|---|---|---|
| GitHub stars | ★ 10K | ★ 2.0K |
| License | Apache-2.0 | MIT |
| Written in | Python | Python |
| Last push | 2026-11-06 | 2026-11-11 |
| Forks | ⑂ 1.5K | ⑂ 1.0K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick garak if
- You weight community size — 10K stars and counting
- You want the Apache-2.0 license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick sapper-v2 if
- You want the sapper-v2 feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Python
- You evaluated both and sapper-v2 fits your workflow better
About garak
garak, LLM vulnerability scanner Generative AI Red teaming & Assessment Kit garak checks if an LLM can be made to fail in a way we don't want. garak probes for hallucination, data leakage, prompt injection, misinformation, toxicity generation, jailbreaks, and many other weaknesses. If you know nmap or msf / Metasploit Framework, garak does somewhat similar things to them, but for LLMs. garak focuses on ways of making an LLM or dialog system fail. It combines static, dynamic, and adaptive probes to explore this. garak 's a free tool. We love developing it and are always interested in adding functionality to…
read the full garak overview →
About sapper-v2
sapper v2 — The Autonomous Pentest Legion Champion of the 3rd Tencent Cloud Intelligent Attack Defense Challenge online qualifier (634 teams · 80.18/100 · 8 hours fully unattended) · First Prize , GeekCon 2026 AI Challenge Same 85 flags as the runner up, 25 seconds faster — on 1B tokens where they burned 4.5B. This was the first time an AI ape looked up at the stars. 📖 Full design article (WeChat, in Chinese) — the Nüwa Test, the three capability foundation, 18 iterations, emergence, and the taggant proposal. English 中文 ⚠️ AUTHORIZED SECURITY TESTING ONLY — see DISCLAIMER.md. Meet sapper in 60 seconds 🎬…
read the full sapper-v2 overview →
More in AI & Machine Learning
Related comparisons
More AI Security & Privacy projects
Compare either of these against the rest of the AI Security & Privacy field.
Frequently asked questions
Is garak or sapper-v2 more popular?
garak has 10,004 GitHub stars and sapper-v2 has 2,018. garak has the larger community by that measure.
Are garak and sapper-v2 free?
Both are open source. garak is licensed under Apache-2.0 and sapper-v2 under MIT. Neither carries a licence fee.
What is the difference between garak and sapper-v2?
garak is written in Python and sapper-v2 in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, garak or sapper-v2?
Choose garak if you want the larger community (10,004 stars) or its Apache-2.0 licence terms. Choose sapper-v2 if its feature set, stack or MIT licence fits better. Both are self-hostable.