Using an uncensored model as the attacker model in AI red teaming
In automated AI red teaming, an attacker model writes adversarial prompts, the system under test answers, and a judge scores the result. Aligned models often refuse the attacker role. An abliterated model accepts it, which makes the loop work against the systems you are authorised to test.
The three roles
| Role | What it does | Typical choice |
|---|---|---|
| Attacker | Generates and refines adversarial prompts towards a test objective | An uncensored or abliterated model |
| Target | The model or application under test, with its guardrails | Your own system |
| Judge | Scores whether the target's answer breaks its policy | A capable model with a written rubric, checked by a human on a sample |
How the loop runs
- You define test objectives from your own policy: what the target must never do.
- The attacker proposes a prompt for an objective.
- The target answers.
- The judge scores the answer; the attacker sees the score and tries again, for a fixed number of turns.
- You review the successful attempts and fix the target.
Why the attacker should not refuse
An aligned attacker declines to write adversarial prompts, or writes weak ones, so the test reports a robustness that is not real. An abliterated attacker removes that bias. It can also serve as the baseline that shows what a model without safeguards answers to the same objectives.
Connecting it
Common open-source red teaming harnesses accept any OpenAI-compatible endpoint as attacker. Point the attacker to the API with its base URL, key and model id, and keep your target and judge as they are.
Good practice
- Test only systems you own or are authorised to test, and respect the terms of any third-party model used as target.
- Log everything on your side: we do not store prompt or response content.
- Fix the attacker's model id, system prompt and sampling settings for a campaign, so runs compare.
- Have a human check a sample of the judge's scores.
- Plan for the fallback model: during an outage, the attacker may refuse.
Related: AI safety research · red teaming · evaluating an abliterated model.
Frequently asked questions
What is an attacker model in AI red teaming?
It is the model that generates adversarial prompts against the system under test in an automated red teaming loop, alongside the target and a judge that scores the answers.
Why use an uncensored model as the attacker?
Because aligned models often refuse to write adversarial prompts or write weak ones, which makes the target look more robust than it is. An abliterated model accepts the role.
Last updated: 2 December 2026