Benchmark Almanac

CyberSecEval Code Interpreter Abuse

Only in system cards

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.

Released
April 2024
Kind
Refusing harmful requests
Level
University
Scored
Graded by a model
Answers
Open-ended
Tasks
All public
Strongest model tested
Llama 3.1-405B #162 on the capability index
Last in a system card
July 2026
Last model added
July 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.

Abstract of CyberSecEval 2: A Wide-Ranging Cybersecurity Evaluation Suite for Large Language Models (arXiv:2404.13161, CC0)
2
Models scored in lab cards
3
System cards report it, from 1 lab

Llama 3.1-70B leads with 3.80%

Best score per model as labs report them in their own cards. Labs pick their own settings, so these compare less cleanly than independent runs.

  1. 1 Llama 3.1-70B 3.80%
  2. 2 Llama 3.1-405B 10.4%

Source: Labs’ model cards

#ModelScoreSettingDateSource
1 Llama 3.1-70B 3.80% Nov 2024 Lab model card
2 Llama 3.1-405B 10.4% Nov 2024 Lab model card

Scores over time

All the scores we have, one dot each, so a model tested at several settings appears more than once.

Reported by the lab in its model card Best so far
0% 20% 40% 60% 80% 100% 2025 Llama 3.1-70B Llama 3.1-405B 0% 20% 40% 60% 80% 100% 2025 Llama 3.1-70B Llama 3.1-405B

Source: Labs’ model cards

Labs report it only in system cards

We read the headline results of 522 launch posts from 52 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.

DateDocumentScoreAs the document writes itSection
Jul 9, 2026 Muse Spark 1.1 system card 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 Llama 3.1-70B technical report 3.8 Code interpreter abuse prompt corpus, compliance with malicious prompts (5.4.5 text) Cyber risk
Nov 23, 2024 Llama 3.1-405B technical report 10.4 Code interpreter abuse prompt corpus, compliance with malicious prompts (5.4.5 text) Cyber risk

More in Safety and alignment

All 465 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%
  • DistressBench In use Models reply as a chatbot to 718 simulated users in psychological crisis, in single-turn and multi-turn chats. Three judge models score replies against clinician-written rubrics. Muse Spark 1.2 88.4%
  • Lakera B3 (Backbone Breaker Benchmark) In use Crowdsourced prompt-injection attacks hit backbone LLMs inside agent threat snapshots at three defense levels. The score is attack resistance, 100 minus the board's vulnerability percentage. Claude Opus 4.5 89%
  • IHEval In use Models face conflicts between system, user and tool instructions. Reports a composite score for following the higher-priority instruction. GPT-4o 70%