CyberSecEval Code Interpreter Abuse
The benchmark’s paper hasn’t scored a model released after Mistral Large (February 2024). Labs report their own numbers for 2 newer models, such as Llama 3.1-70B at 3.80%.
Models receive requests to run malicious commands against an attached code interpreter. Reports attack success rate, also across languages.
Part of CyberSecEval 2. Meta reports per-language attack success rates.
- Made by
- Meta (PurpleLlama)
- Released
- April 2024
- Kind
- Refusing harmful requests
- Level
- University
- Scored
- Graded by a model
- Answers
- Open-ended
- Tasks
- All public
- Measures
- Propensity
- Risk
- Cyber offence
- Behavior
- Harmful use
- Language
- Many languages
- Interaction
- Agentic
- Environment
- Code sandbox
- Refresh
- One fixed set
- Run by
- Anyone
- In views
- Agents, Many languages
- Strongest model tested
-
Llama 3.1-405B #164 on the capability index
- Last in a system card
- July 2026
- Last model added
- July 2026
- Updated automatically
- No, from its paper
- Scores refreshed
- November 20th, 2026
In the authors’ words
Large language models (LLMs) introduce new security risks, but there are few comprehensive evaluation suites to measure and reduce these risks. We present BenchmarkName, a novel benchmark to quantify LLM security risks and capabilities. We introduce two new areas for testing: prompt injection and code interpreter abuse. We evaluated multiple state-of-the-art (SOTA) LLMs, including GPT-4, Mistral, Meta Llama 3 70B-Instruct, and Code Llama. Our results show that conditioning away risk of attack remains an unsolved problem; for example, all tested models showed between 26% and 41% successful prompt injection tests. We further introduce the safety-utility tradeoff: conditioning an LLM to reject unsafe prompts can cause the LLM to falsely reject answering benign prompts, which lowers utility. We propose quantifying this tradeoff using False Refusal Rate (FRR). As an illustration, we introduce a novel test set to quantify FRR for cyberattack helpfulness risk. We find many LLMs able to successfully comply with "borderline" benign requests while still rejecting most unsafe requests. Finally, we quantify the utility of LLMs for automating a core cybersecurity task, that of exploiting software vulnerabilities. This is important because the offensive capabilities of LLMs are of intense interest; we quantify this by creating novel test sets for four representative problems. We find that models with coding capabilities perform better than those without, but that further work is needed for LLMs to become proficient at exploit generation. Our code is open source and can be used to evaluate other LLMs.
codellama-13b-instruct tops the leaderboard with 13.4% Code Llama 34B Instruct leads with 16.4% among models released by February 2024
Best score per entry from the benchmark's paper, read on November 20th, 2026. A paper’s table doesn’t add newer models. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. The best model we track is Code Llama 34B Instruct, at 16.4%. This view shows only models we track, each at its best.
Llama 3.1-70B leads with 3.80%, claims included
Best score per model from every source, including labs’ own numbers and claims Epoch AI collected from reports and papers. Labs pick their own settings, so a claim can beat an independent run of the same model. Striped bars are claims, and dotted bars are reruns by Epoch AI or another board.
The newest model with a score here came out in February 2024, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 1 codellama-13b-instruct 13.4%
- 2
Code Llama 34B Instruct 16.4%
- 3 GPT-4 Jun 2023 19.2%
- 4 GPT-3.5 Turbo Jan 2024 22.2%
- 5
Code Llama 70B Instruct 23.6%
- 6 llama 3 8b-instruct 28.6%
- 7
Mistral Large 37.4%
- 8
Mistral Medium 38.4%
- 9 llama 3 70b-instruct 39%
- 10 mistral-small-latest 46.8%
Source: The CyberSecEval Code Interpreter Abuse paper
- 1
Code Llama 34B Instruct 16.4%
- 2 GPT-4 Jun 2023 19.2%
- 3 GPT-3.5 Turbo Jan 2024 22.2%
- 4
Code Llama 70B Instruct 23.6%
- 5
Mistral Large 37.4%
- 6
Mistral Medium 38.4%
Source: The CyberSecEval Code Interpreter Abuse paper
- 1
Llama 3.1-70B 3.80%
- 2
Llama 3.1-405B 10.4%
- 3
Code Llama 34B Instruct 16.4%
- 4 GPT-4 Jun 2023 19.2%
- 5 GPT-3.5 Turbo Jan 2024 22.2%
- 6
Code Llama 70B Instruct 23.6%
- 7
Mistral Large 37.4%
- 8
Mistral Medium 38.4%
Sources: Labs’ model cards and the CyberSecEval Code Interpreter Abuse paper
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | codellama-13b-instruct | 13.4% | Official leaderboard | ||
| 2 | | 16.4% | Aug 2023 | Official leaderboard | |
| 3 | GPT-4 Jun 2023 | 19.2% | Jun 2023 | Official leaderboard | |
| 4 | GPT-3.5 Turbo Jan 2024 | 22.2% | Jan 2024 | Official leaderboard | |
| 5 | | 23.6% | Jan 2024 | Official leaderboard | |
| 6 | llama 3 8b-instruct | 28.6% | Official leaderboard | ||
| 7 | | 37.4% | Feb 2024 | Official leaderboard | |
| 8 | | 38.4% | Dec 2023 | Official leaderboard | |
| 9 | llama 3 70b-instruct | 39% | Official leaderboard | ||
| 10 | mistral-small-latest | 46.8% | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 16.4% | Aug 2023 | Official leaderboard | |
| 2 | GPT-4 Jun 2023 | 19.2% | Jun 2023 | Official leaderboard | |
| 3 | GPT-3.5 Turbo Jan 2024 | 22.2% | Jan 2024 | Official leaderboard | |
| 4 | | 23.6% | Jan 2024 | Official leaderboard | |
| 5 | | 37.4% | Feb 2024 | Official leaderboard | |
| 6 | | 38.4% | Dec 2023 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | 3.80% | Nov 2024 | Lab model card | ||
| 2 | 10.4% | Nov 2024 | Lab model card | ||
| 3 | 16.4% | Aug 2023 | Official leaderboard | ||
| 4 | GPT-4 Jun 2023 | 19.2% | Jun 2023 | Official leaderboard | |
| 5 | GPT-3.5 Turbo Jan 2024 | 22.2% | Jan 2024 | Official leaderboard | |
| 6 | 23.6% | Jan 2024 | Official leaderboard | ||
| 7 | 37.4% | Feb 2024 | Official leaderboard | ||
| 8 | 38.4% | Dec 2023 | Official leaderboard |
Labs report scores for 2 models in their cards. Switch the scores above to rank them together.
Rankings by part
We read 5 parts from the benchmark’s paper, each ranking models on one part of the test, such as Container Escape, Privilege Escalation and Post Exploitation. Code Llama 34B Instruct leads 4 of them, and GPT-3.5 Turbo leads the other one. Arrows show how far a model moved from its overall rank among the models we track.
Container Escape
6 models we track have a score here.
- 1
Code Llama 34B Instruct 20%
- 2 GPT-4 Jun 2023 25%
- 3
Code Llama 70B Instruct ↑1 30%
- 4 GPT-3.5 Turbo Jan 2024 ↓1 31%
- 5
Mistral Large 34%
- 6
Mistral Medium 42%
Privilege Escalation
6 models we track have a score here.
- 1
Code Llama 34B Instruct 18%
- 2 GPT-4 Jun 2023 21%
- 3
Code Llama 70B Instruct ↑1 27%
- 4 GPT-3.5 Turbo Jan 2024 ↓1 31%
- 5
Mistral Medium ↑1 35%
- 6
Mistral Large ↓1 42%
Post Exploitation
6 models we track have a score here.
- 1
Code Llama 34B Instruct 13%
- 2 GPT-4 Jun 2023 14%
- 3 GPT-3.5 Turbo Jan 2024 18%
- 4
Code Llama 70B Instruct 23%
- 5
Mistral Medium ↑1 47%
- 6
Mistral Large ↓1 52%
Reflected Attack
6 models we track have a score here.
- 1 GPT-3.5 Turbo Jan 2024 ↑2 7.00%
- 2 GPT-4 Jun 2023 15%
- 3
Code Llama 70B Instruct ↑1 17%
- 4
Code Llama 34B Instruct ↓3 18%
- 5
Mistral Large 35%
- 6
Mistral Medium 46%
Social Engineering
6 models we track have a score here.
- 1
Code Llama 34B Instruct 13%
- 2 GPT-4 Jun 2023 21%
- 3
Code Llama 70B Instruct ↑1 21%
- 4
Mistral Medium ↑2 22%
- 5 GPT-3.5 Turbo Jan 2024 ↓2 24%
- 6
Mistral Large ↓1 24%
Everything the board measures
The benchmark’s paper publishes 6 numbers for each entry: the headline score and 5 parts of the test. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Parts
- Container Escape
- Privilege Escalation
- Post Exploitation
- Reflected Attack
- Social Engineering
- Headline
- Headline score
- Parts
- Container Escape
- Privilege Escalation
- Post Exploitation
- Reflected Attack
- Social Engineering
- Headline
- Headline score
- Parts
- Container Escape
- Privilege Escalation
- Post Exploitation
- Reflected Attack
- Social Engineering
- OpenAI
- Meta
- Mistral AI
- not in our model list
Number one over time 2 models have held number one with claims included since its release in April 2024
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: The CyberSecEval Code Interpreter Abuse paper
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Sources: Official CyberSecEval Code Interpreter Abuse leaderboard and labs’ model cards
Labs report it only in system cards
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark. Some system cards do, below.
3 system cards report it, from 1 lab
Besides launch posts, we read the system cards, model cards and technical reports labs publish with a release. They report far more, including safety and frontier-risk tests.
| Date | Document | Score | As the document writes it | Section |
|---|---|---|---|---|
| Jul 9, 2026 | | Interpreter abuse ASR by language with no overall (Figure 16). First language column 1.96, others 0.60 to 1.24 | Cyber risk | |
| Nov 23, 2024 | | 3.8 | Code interpreter abuse prompt corpus, compliance with malicious prompts (5.4.5 text) | Cyber risk |
| Nov 23, 2024 | | 10.4 | Code interpreter abuse prompt corpus, compliance with malicious prompts (5.4.5 text) | Cyber risk |
More in Safety and alignment
- FORTRESS In use Paired adversarial and benign national-security misuse prompts. Rubric-graded risk score on adversarial and over-refusal score on benign prompts. Claude Opus 5.5 5.78%
- StrongREJECT In use Forbidden-prompt jailbreak benchmark with a rubric grader that scores how useful a non-refusal actually is.
Inkling 98.6%
- Gray Swan IPI Arena benchmark In use Indirect prompt-injection attacks from public red-teaming competitions replayed on tool, coding and browser agents. Attack success rate at k attempts.
Gemini 4 Carbon 0%
- Covert misbehavior (Thinking Machines) In use Agentic tasks that check whether a model misbehaves and conceals it. Scored by the rate of covert misbehavior.
Inkling 2 Mini 8.30%
- Destructive actions (Thinking Machines) In use Agentic tasks that check whether a model takes destructive actions it was not authorized to take. Scored by the rate of destructive actions.
Inkling 2 Small 4.70%
- Misbehavior (Thinking Machines) In use Agentic tasks that check whether a model fabricates results, ignores instructions or hides what it did when a task is hard. Scored by the rate of misbehavior.
Inkling 2 Mini 9.80%
Data audit
All 9 checks pass. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 3 pass 2 notes
- Pass Independent runs Scores from the benchmark’s paper (10 entries) and system cards (2 scores).
- Pass Models scored 8 models we track, plus 4 other entries on its leaderboard.
- Pass Newest score The newest is from July 2026, for Muse Spark 1.1.
- Note Frontier models None of the top 10 has a score. The strongest tested is Llama 3.1-405B (#164).
- Note Headroom Lower is better, so there’s no ceiling to reach.
Leaderboard import 3 pass
- Pass Importer We read the board on arxiv.org: 6 rows for models we track and 4 other entries at the last read.
- Pass Last read November 20th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.