Your security team already runs penetration tests. So when someone asks “have we red-teamed the AI?”, it’s tempting to answer “same thing, already covered.” It isn’t the same thing — and the gap between the two is exactly where AI products get burned.
What penetration testing covers
A pen test attacks your infrastructure: networks, APIs, authentication, dependencies, misconfigurations. The target is unauthorized access, and the findings map to known vulnerability classes — the OWASP Top 10, CVEs, broken access control. It answers the question: can an attacker get in?
What AI red-teaming covers
AI red-teaming attacks your model’s behavior — through the front door, using nothing but language. The attacker is often just a creative user with no security skills at all. The question it answers: can the system be talked into doing what it shouldn’t? That includes:
- Jailbreaks & prompt injection — overriding instructions with crafted input (see our deep dive on prompt injection testing)
- Data extraction — coaxing out system prompts, training data, or other users’ information
- Harmful content — getting the model to produce what your policy forbids
- Bias & fairness failures — responses that treat groups differently in ways that create legal and reputational risk
- Agent misuse — tricking tool-wielding AI into taking real actions: refunds, emails, database changes
The key differences, side by side
- Target: pen test → infrastructure and code paths; AI red-team → model behavior and the seams between model, data, and tools
- Attacker profile: pen test → technical adversary with exploit skills; AI red-team → anyone who can type persuasively
- Failure type: pen test → binary breach (in or out); AI red-team → probabilistic drift — an attack that fails 9 times may succeed on the 10th, so single-shot testing proves nothing
- Fix cycle: pen test → patch the vulnerability, it stays patched; AI red-team → defenses regress silently with every prompt tweak and model upgrade, so testing must be continuous
- Pass criteria: pen test → no critical findings; AI red-team → measured resistance rates against an attack library, tracked release over release
Why you need both — and where they overlap
An AI product still has servers, APIs, and auth — pen testing stays mandatory. But a perfectly patched infrastructure will happily serve a model that leaks your system prompt to anyone who asks nicely. The overlap zone is new and dangerous: an indirect prompt injection that makes an agent misuse its tools is simultaneously a behavioral failure and a security breach. That seam — model, retrieval, tools, permissions — is precisely where traditional pen tests and traditional QA both assume the other one is looking.
What a good AI red-team engagement produces
- An attack library tailored to your product’s risks — not just recycled public jailbreaks
- Resistance rates per attack category, measured across repeated runs, not single attempts
- Reproduction steps for every successful attack, severity-ranked by business impact
- A regression suite you keep — so defenses are re-verified on every release, not once a year
That last item is the cultural shift: pen testing is an event; AI red-teaming done right becomes part of your release pipeline, exactly like the eval suites in our RAG evaluation checklist.
Ready to find out what your AI can be talked into?
Adversarial red-teaming is a core part of our AI & LLM testing service — attack design, measured resistance rates, and a regression suite your team keeps. Book a free strategy session. It’s free, and the whole conversation is about you.

