SecQA
Models answer multiple-choice computer security questions at two difficulty levels. Questions come from a security textbook and were checked by people.
Two datasets, v1 and v2, give two levels of difficulty. The inspect_evals harness runs each zero-shot and five-shot. Questions were drafted by GPT-4 from the textbook Computer Systems Security: Planning for Success.
- Made by
- SecQA author (Zefang Liu)
- Released
- December 2023
- Kind
- Finding and exploiting real bugs
- Level
- University
- Scored
- Checked automatically
- Answers
- Multiple choice
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Single turn
- Items from
- Exams and contests, Generated
- Refresh
- One fixed set
- Run by
- Anyone
- Last model added
- December 2023
- Updated automatically
- No, from its paper
- Scores refreshed
- November 20th, 2026
In the authors’ words
In this paper, we introduce SecQA, a novel dataset tailored for evaluating the performance of Large Language Models (LLMs) in the domain of computer security. Utilizing multiple-choice questions generated by GPT-4 based on the "Computer Systems Security: Planning for Success" textbook, SecQA aims to assess LLMs' understanding and application of security principles. We detail the structure and intent of SecQA, which includes two versions of increasing complexity, to provide a concise evaluation across various difficulty levels. Additionally, we present an extensive evaluation of prominent LLMs, including GPT-3.5-Turbo, GPT-4, Llama-2, Vicuna, Mistral, and Zephyr models, using both 0-shot and 5-shot learning settings. Our results, encapsulated in the SecQA v1 and v2 datasets, highlight the varying capabilities and limitations of these models in the computer security context. This study not only offers insights into the current state of LLMs in understanding security-related content but also establishes SecQA as a benchmark for future advancements in this critical research area.
GPT-4 (snapshot unspecified) tops the leaderboard with 99% Mistral-7B-Instruct-v0.2 leads with 90%
Best score per entry from the benchmark's paper, read on November 20th, 2026. A paper’s table doesn’t add newer models. The paper reports no overall accuracy, so this is the plain mean of SecQA v1 and v2 accuracy. 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 Mistral-7B-Instruct-v0.2, at 90%. This view shows only models we track, each at its best.
- 1 GPT-4 (snapshot unspecified) 5-shot 99%
- 2 GPT-3.5-Turbo (snapshot unspecified) 0-shot 98.5%
- 3
Mistral-7B-Instruct-v0.2 0-shot 90%
- 4
Zephyr 7B Beta 5-shot 89.3%
- 5 Llama-2-13B-Chat 5-shot 89%
- 6 Llama-2-7B-Chat 0-shot 75.8%
- 7 Vicuna-13B-v1.5 0-shot 75.2%
- 8 Vicuna-7B-v1.5 0-shot 65.8%
Source: The SecQA paper
- 1
Mistral-7B-Instruct-v0.2 0-shot 90%
- 2
Zephyr 7B Beta 5-shot 89.3%
Source: The SecQA paper
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-4 (snapshot unspecified) | 99% | 5-shot | Official leaderboard | |
| 2 | GPT-3.5-Turbo (snapshot unspecified) | 98.5% | 0-shot | Official leaderboard | |
| 3 | | 90% | 0-shot | Dec 2023 | Official leaderboard |
| 4 | | 89.3% | 5-shot | Oct 2023 | Official leaderboard |
| 5 | Llama-2-13B-Chat | 89% | 5-shot | Official leaderboard | |
| 6 | Llama-2-7B-Chat | 75.8% | 0-shot | Official leaderboard | |
| 7 | Vicuna-13B-v1.5 | 75.2% | 0-shot | Official leaderboard | |
| 8 | Vicuna-7B-v1.5 | 65.8% | 0-shot | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 90% | 0-shot | Dec 2023 | Official leaderboard |
| 2 | | 89.3% | 5-shot | Oct 2023 | Official leaderboard |
Everything the board measures
The benchmark’s paper publishes 3 numbers for each entry: the headline score and 2 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
- SecQA v1
- SecQA v2
- Headline
- Headline score
- Parts
- SecQA v1
- SecQA v2
- Headline
- Headline score
- Parts
- SecQA v1
- SecQA v2
- Hugging Face
- Mistral AI
- not in our model list
2 models have held number one in the benchmark’s paper since its release in December 2023
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: The SecQA paper
Zephyr 7B Beta on the official leaderboard passed 85% in October 2023
Models released before it came out already scored that high. All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official SecQA leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Cybersecurity
- ExploitGym In use 869 real-vulnerability exploit-development tasks (userspace, V8, Linux kernel). Success means capturing a flag through the intended vulnerability. GPT-6 Astra 42.4%
- ExploitBench In use 41 recent V8 JavaScript-engine N-day vulnerabilities. Progress measured by 16 grader-verified capability flags across five tiers. GPT-6 Astra 100%
- ExploitBench - Internal Port In use Agents develop working exploits for recently disclosed vulnerabilities to limit contamination. Scored as arbitrary code execution success rate. GPT-6.2 Astra 53.5%
- Atomic Challenges In use Agents solve 22 skill-level offensive security challenges in vulnerability research, network attack simulation and evasion. Scored as challenges solved. GPT-6 Astra 90.9%
- MiMo Cyber Bench In use Agents do in-house cybersecurity tasks that add to public vulnerability reproduction and exploitation benchmarks. The report gives no task count or grading details. MiMo-V2.6 Pro 81.7%
- PatchBench (OpenAI) In use Models patch security flaws. Automated tests and model-based review check that each patch fixes the flaw, keeps the intended behavior and is ready to merge. GPT-6.2 Astra 79.7%
Data audit
All 8 checks pass. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 2 pass 3 notes
- Pass Independent runs Scores from the benchmark’s paper (8 entries).
- Pass Models scored 2 models we track, plus 6 other entries on its leaderboard.
- Note Newest score The newest came 2 years ago, in December 2023, for Mistral-7B-Instruct-v0.2. That’s expected for a saturated test.
- Note Frontier models None of its models are on the capabilities index.
- Note Headroom Saturated. The best is 90%, past 85% since October 2023.
Leaderboard import 3 pass
- Pass Importer We read the board on arxiv.org: 4 rows for models we track and 6 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.