Open-source tool · Library
promptfoo.
Open-source CLI and library to test prompts, agents and RAG apps, with red teaming and vulnerability scanning. Use it for: Adding LLM red-team tests and evals to CI.
Facts
- Type
- Open-source tool
- Maintainer
- promptfoo
- License
- MIT
- Stars (as of 1 December 2026)
- 27,888
- Last commit
- 1 December 2026
- Latest release
- 0.126.0 (18 November 2026)
- Repository
- https://github.com/promptfoo/promptfoo
How does it score?
96.7/100
| Component | Points |
|---|---|
| Popularity | 26.67 / 30 |
| Activity | 25 / 25 |
| License | 15 / 15 |
| Documentation | 10 / 10 |
| OWASP LLM Top 10 coverage | 20 / 20 |
Position 1 of 13 open-source tools, and 1 of 27 overall.
Ranked by our published criteria, as of 1 December 2026.
Which OWASP LLM Top 10 (2026) categories does it name?
- LLM01Prompt Injection
- LLM02Sensitive Information Disclosure
- LLM03Excessive Agency
- LLM04Supply Chain
- LLM05Data and Model Poisoning
- LLM06Unbounded Consumption
- LLM07Misinformation
- LLM08Hidden Context Exposure
- LLM09Vector and Embedding Weaknesses
- LLM10Improper Output Handling
What the docs say: Official docs page maps red-team plugins to every OWASP LLM Top 10 (2025) category: https://www.promptfoo.dev/docs/red-team/owasp-llm-top-10/ (System Prompt Leakage counted as LLM08:2026 Hidden Context Exposure)
OWASP coverage reflects what each item's own README or docs name, not independent testing by Saasment. Categories: OWASP Top 10 for LLM Applications 2026.
Want this kind of AI pen testing run for you? See what ARTEX is (Saasment, early access).
Related open-source tools
DeepTeam
Open-source framework from Confident AI to red team LLMs and AI agents, with OWASP, NIST and MITRE framework presets.
NeMo Guardrails
NVIDIA's open-source library for adding programmable input, output, dialog, retrieval and tool-call guardrails to LLM apps.
garak
Open-source LLM vulnerability scanner from NVIDIA that runs probe sets against a model or endpoint.
All open-source tools in the libraryAI Security LibraryAI security vendors by category
Questions
What is promptfoo?
Open-source CLI and library to test prompts, agents and RAG apps, with red teaming and vulnerability scanning. It is maintained by promptfoo on GitHub (https://github.com/promptfoo/promptfoo).
What license does promptfoo use?
According to its GitHub repository, promptfoo uses the MIT license (as of 1 December 2026).
Which OWASP LLM Top 10 (2026) categories does promptfoo's documentation name?
promptfoo's documentation names these OWASP Top 10 for LLM Applications 2026 categories: LLM01 Prompt Injection, LLM02 Sensitive Information Disclosure, LLM03 Excessive Agency, LLM04 Supply Chain, LLM05 Data and Model Poisoning, LLM06 Unbounded Consumption, LLM07 Misinformation, LLM08 Hidden Context Exposure, LLM09 Vector and Embedding Weaknesses, LLM10 Improper Output Handling. Official docs page maps red-team plugins to every OWASP LLM Top 10 (2025) category: https://www.promptfoo.dev/docs/red-team/owasp-llm-top-10/ (System Prompt Leakage counted as LLM08:2026 Hidden Context Exposure). OWASP coverage reflects what the docs name, not independent testing by Saasment.