COMPL-AI - Prompt Injection Resistance: leaderboard

The model holds a secret-protecting system instruction while a TensorTrust prompt-injection attack tries to hijack it; the score is the share of attacks resisted. One conduct test from the EU AI Act COMPL-AI suite, whose all-benchmark average is the separate Compl-AI Board.

Metric: Goal-hijacking resistance (%, higher is better). Source: huggingface.co. 14 models tracked.

Top models

#ModelScoreOverall rank
1Claude 3 Opus84.02#1455
2GPT-4 Turbo (Preview)65.72#1083
3Yi Chat 34B53.87#3544
4Mistral-7B-v0.351.55#7191
5Llama 2 7B Chat51.42#8805
6Gemini 1.5 Flash (001)49.23#1784
7Gemma 2 9B48.58#2802
8Qwen 1.5 72B Chat45.36#2126
9Bielik-11B-v2.3-Instruct43.04#1791
10Llama 2 70B Chat42.78#6800
11Llama 2 13B Chat41.75#8186
12Mixtral 8x7B Instruct37.5#4444
13Mistral 7B Instruct (v0.2)32.47#7007
14Mistral 7B Instruct (v0.3)27.96#6653

Interactive version: theaggregate.ai/benchmark?slug=compl-ai-prompt-injection-resistance · How It Works · Data refreshed daily, snapshot 2026-11-13.