Stubbi
Rankings
Benchmark

Cybench

Test agents on cybersecurity challenges in controlled environments.

Checked Oct 20, 2026Cybench project

Overview

Cybench is a framework for measuring the cybersecurity capabilities and associated risks of language-model agents using professional capture-the-flag (CTF) challenges. It was created at Stanford and presented as an oral paper at ICLR 2025. Each challenge is broken into intermediate subtasks so that partial progress can be measured even when an agent cannot solve the whole problem.

What a task looks like

Each task supplies a description, starter files and an evaluator; the agent works in a Kali Linux container, running bash commands and calling remote task servers, until it recovers the flag. Tasks come from HackTheBox Cyber Apocalypse 2024, SekaiCTF (2022 and 2023), GlacierCTF 2023 and HKCert CTF, for example the HackTheBox crypto challenge 'Dynastic'. Each task's human first-solve time from the original competition is recorded as a difficulty signal.

How it’s scored

Unguided runs are scored pass or fail on whether the agent submits the correct flag. In subtask mode the framework reports subtask-guided success (whether the final subtask is solved) and a fractional subtask score, macro-averaged across tasks.

Released
Aug 15, 2024
Size
40 tasks from 4 CTF competitions across 6 categories (crypto, web, reverse engineering, forensics, misc, pwn); every task has subtasks.
Versions
The paper has four arXiv versions (August 2024 to April 2025); no separate benchmark editions are documented.
Access
Public: tasks, agent code and run details are in the andyzorigin/cybench GitHub repository under Apache-2.0.
Links
Project pagePaperCodeLeaderboard

Summarized by Stubbi from the public sources listed below. Stubbi has not run this benchmark.

Published leaderboard

Explore scores and evaluation settings on the publisher’s leaderboard.

Open leaderboard

Coverage

40 professional capture-the-flag tasks from four competitions, spanning six security categories.

Methodology

Agents use a terminal to solve tasks and recover target flags. Results distinguish autonomous runs from runs with intermediate subtask guidance.

Sources

arxiv.org/abs/2408.08926github.com/andyzorigin/cybenchgithub.com/andyzorigin/cybench/blob/main/task_list.txtgithub.com/andyzorigin/cybench/blob/main/subtask_list.txt