Berk Bayri

Red teaming

Deliberately attacking your own AI system, with people or tools playing the adversary, to find harmful, unsafe or exploitable behavior before real users or attackers do.

Red teaming borrows a military and security habit: a separate team plays the opponent and tries to make the system fail. For AI, that means trying to get a model or an agent to leak data, follow injected instructions, produce dangerous content, discriminate, or take an action it should refuse.

It differs from ordinary evaluation in intent. An evaluation asks how well the system does its job on expected inputs. A red team asks what the worst plausible person, or the most confused real user, could get it to do. Good red teams mix domain experts with security testers, because the damaging failure in a lending tool looks different from the damaging failure in a customer-service bot.

Regulation has started to name it. Under Article 55 of the EU AI Act, providers of general-purpose AI models with systemic risk must evaluate their models with state-of-the-art protocols, including conducting and documenting adversarial testing. These obligations have applied since 2 August 2025.

What it does not prove

A red-team exercise that found nothing shows that this team, with this time and these ideas, found nothing. It is not a safety certificate. Its value comes from what changes afterwards: findings that turn into guardrails, tighter permissions or a decision not to deploy, and a repeat run whenever the model, the tools or the prompts change. A demo designed to succeed tells you less, which is the point of Make the AI vendor demo fail.

Article 55: Obligations for providers of general-purpose AI models with systemic risk

European Commission, AI Act Service Desk