Benchmark Almanac

CyberSecEval Prompt Injection

Llama 3.1-8B 19% leads since November 2024
Only in system cards

Models face text prompts that embed injected instructions across 15 strategies. Scored as attack success rate.

Part of CyberSecEval 2 and later versions. The repo ships an English set (prompt_injection.json) and a machine-translated multilingual set. Inspect Evals ports the multilingual set as cyse4_multilingual_prompt_injection (1,004 items).

Released
April 2024
Kind
Jailbreaks and prompt injection
Level
Everyday
Scored
Graded by a model
Answers
Open-ended
Tasks
All public
Measures
Propensity
Language
Many languages
In and out
Text → Text
Interaction
Single turn
Items from
Generated, Translated
Refresh
One fixed set
Run by
Anyone
In views
Many languages
Strongest model tested
Llama 3.1-405B #164 on the capability index
Last in a system card
November 2024
Last model added
November 2024

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)
3
Models scored in lab cards
3
System cards report it, from 1 lab

Llama 3.1-8B leads with 19% among models released by July 2024

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

The newest model with a score here came out in July 2024, and nobody has reported a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:

  1. 1 Llama 3.1-8B 19%
  2. 2 Llama 3.1-405B 21.7%
  3. 3 Llama 3.1-70B 26%

Source: Labs’ model cards

#ModelScoreSettingDateSource
1 Llama 3.1-8B 19% Nov 2024 Lab model card
2 Llama 3.1-405B 21.7% Nov 2024 Lab model card
3 Llama 3.1-70B 26% Nov 2024 Lab model card

Number one over time

Lab claims count from the day the card came out, independent runs from the model’s release.

Meta
Lab claims Not tested since Nov 2024

Source: Labs’ model cards

Scores over time

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

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

Source: 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.

DateDocumentScoreAs the document writes itSection
Nov 23, 2024 Llama 3.1-8B technical report 19 Text-based prompt injection success rate, average over strategies 0.19 (Figure 22 label) Robustness
Nov 23, 2024 Llama 3.1-70B technical report 26 Text-based prompt injection success rate, average over strategies 0.26 (Figure 22 label) Robustness
Nov 23, 2024 Llama 3.1-405B technical report 21.7 Text-based prompt injection success rate 21.7% (5.4.5 text). Figure 22 average label = 0.22 Robustness

More in Safety and alignment

All 636 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

3 of 4 checks pass, 1 warning. Look first at the Newest score check. The newest came 2 years ago, in November 2024, for Llama 3.1-405B. Every benchmark

Catalog record 2 pass
  • Pass Task access All tasks are public.
  • Pass Confidence Checked against a primary source.
Scores 1 warning 4 notes
  • Note Independent runs Only labs’ own numbers, so no one else has checked them. Scores from system cards (3 scores).
  • Note Models scored Only 3 models we track.
  • Warning Newest score The newest came 2 years ago, in November 2024, for Llama 3.1-405B.
  • 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 1 note
  • Note Importer No public leaderboard to read.
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.

How we check