Verified86%Harbor: pendingCodingSafety & Alignment

PatchBench

PatchBench: Measuring Collateral Damage in Activation Patching

PatchBench PatchBench is a benchmark for evaluating AI agents on realistic vulnerability patching tasks: 213 tasks drawn from 32 popular GitHub C/C++ projects.

How to run

ltb · patchbench
$ npm i -g lettokenburn-cli
$ ltb bench info patchbench

External harness. No Harbor adapter has been generated for this benchmark yet. `ltb bench info` prints the known links.

Runs happen on your machine with your own subscription; only the score summary is pushed. CLI docs

Scores

5 sourced entries
HarnessSourceConfidenceLink
Qwen2.5-3B-Instruct40.1N/AIndependentmediumOct 7, 2026arxiv.org
Mistral 7B32.2N/AIndependentmediumOct 7, 2026arxiv.org
Llama-3.1-8B-Instruct31.2N/AIndependentmediumOct 7, 2026arxiv.org
Gemma 3 4B18.2N/AIndependentmediumOct 7, 2026arxiv.org
llama-4 Scout18.0N/AIndependentmediumOct 7, 2026arxiv.org

Every number links to where it was published. Low-confidence rows are muted and need per-cell verification.

Reproduced by the community

All runs
Loading community runs…

About

PatchBench

PatchBench is a benchmark for evaluating AI agents on realistic vulnerability patching tasks: 213 tasks drawn from 32 popular GitHub C/C++ projects. It selects vulnerabilities whose ground-truth fixes lie outside the crash stack, and uses vulnerability transplant plus code mutation to mitigate surface-level fixes and patch memorization. This repository holds the task metadata, one row per task to identify the project, the exact repository state, the crash, and the…