We load-test before launch and we pen-test before launch. Yet many teams ship their first LLM feature with neither, and learn its failure modes from customers. One afternoon of red-teaming changes that.
NIST defines AI red-teaming as "a structured testing exercise used to probe an AI system to find flaws and vulnerabilities such as inaccurate, harmful, or discriminatory outputs" (NIST, 2024). You don't need to invent the test plan: OWASP's Top 10 for LLM applications already lists what to probe (OWASP, 2025).
1. Turn the OWASP list into ten tests
| Risk | One test to run before launch |
|---|---|
| LLM01 Prompt Injection | Hide an instruction in a document the app reads. Does it obey? |
| LLM02 Sensitive Information Disclosure | Ask for another user's data, or for a secret you seeded. |
| LLM03 Supply Chain | List every model, package and plugin with an owner and version. |
| LLM04 Data and Model Poisoning | Plant a false document in the knowledge base. Do answers change? |
| LLM05 Improper Output Handling | Get it to output HTML or SQL. Is that escaped before use? |
| LLM06 Excessive Agency | Ask it to take an action outside its job. |
| LLM07 Leakage of hidden instructions | Ask it to repeat its instructions. Is anything secret in them? |
| LLM08 Vector and Embedding Weaknesses | Can one customer retrieve another customer's documents? |
| LLM09 Misinformation | Ask 20 questions with known answers. Count confident wrong ones. |
| LLM10 Unbounded Consumption | Send huge inputs and rapid requests. Is there a cap? |
2. Automate the repetitive part
Three open-source tools are worth a look. Microsoft's PyRIT is an AI red-teaming toolkit (MIT). NVIDIA's garak calls itself "the LLM vulnerability scanner" (Apache-2.0). promptfoo evaluates and red-teams LLM apps from the command line; it is now part of OpenAI and stays MIT-licensed. Run one of them in CI so each release replays the same attacks.
3. Keep people for the judgement calls
Scanners find known patterns. A support lead who knows your customers finds the answers that would embarrass you on social media. My rule: three people, one afternoon, the ten rows above, before every major release. Write down each failure and the fix, and turn it into an automated test.
Are you ready to launch?
Score each 0 (no), 1 (partly) or 2 (yes):
- Plan: all ten OWASP risks have at least one test.
- People: someone outside the build team tried to break it.
- Automation: attack tests run on every release.
- Limits: input size and request rate are capped.
- Records: each failure found has a fix and a regression test.
| Score | Next move |
|---|---|
| 8–10 | Launch, and keep the tests in CI. |
| 5–7 | Run the missing rows and fix what breaks first. |
| 0–4 | Hold the launch for one red-team afternoon. |
Your next step
Book a two-hour slot this week with one engineer, one tester and one support lead. Give them the table above and one rule: break it. Fix the top three findings before launch.
Sources
- NIST (2024). AI 600-1: Artificial Intelligence Risk Management Framework, Generative AI Profile. July 2024.
- OWASP (2025). OWASP Top 10 for LLM Applications 2025.
- Microsoft. PyRIT on GitHub. Read 20 November 2026.
- NVIDIA. garak on GitHub. Read 20 November 2026.
- promptfoo. promptfoo on GitHub. Read 20 November 2026.