One Successful Run Is Not an Exploit: Replaying LLM-Written Exploit Scripts with the Model Out of the Loop

Abstract Offensive-security benchmarks for large language model (LLM) agents score a run as successful when a flag string appears in its output; published systems commonly stop at the first success. One verified run leaves two questions open at once: whether the model will produce that result again, and whether the script itself still works. We separate the two by taking the model out of the loop. Across 14 web challenges, 280 agent runs yielded 196 winning scripts, and each script was replayed verbatim, R = 10 times, into a freshly started target container. Cold replay recovered the flag in 1,950 of 1,960 replays (99.49\%, task-clustered bootstrap 95\% confidence interval 98.37 to 100.00), classifying 195 artifacts as stable, none flaky, one dead at (R = 10, cold, reference environment). The single dead artifact is the informative case: it fails 0/10 alone and succeeds 10/10 when its trajectory is replayed in order, because it hard-codes a subscript valid only in a primed target process; one extra request flips it (Fisher exact test, p = 1.08e-05). Instability instead concentrates in generation: 12 of the 24 cells with at least one hit are flaky there. Replaying an artifact and re-running an agent measure different quantities, and single-run scoring reports neither.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-06
DOI
https://doi.org/10.21203/rs.3.rs-11630562/v1
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

One Successful Run Is Not an Exploit: Replaying LLM-Written Exploit Scripts with the Model Out of the Loop

Wensheng Huang
2 links
Research Square
Adversarial Robustness in Machine Learning
preprint

One Successful Run Is Not an Exploit: Replaying LLM-Written Exploit Scripts with the Model Out of the Loop

Wensheng Huang
preprint en

Abstract

Abstract Offensive-security benchmarks for large language model (LLM) agents score a run as successful when a flag string appears in its output; published systems commonly stop at the first success. One verified run leaves two questions open at once: whether the model will produce that result again, and whether the script itself still works. We separate the two by taking the model out of the loop. Across 14 web challenges, 280 agent runs yielded 196 winning scripts, and each script was replayed verbatim, R = 10 times, into a freshly started target container. Cold replay recovered the flag in 1,950 of 1,960 replays (99.49\%, task-clustered bootstrap 95\% confidence interval 98.37 to 100.00), classifying 195 artifacts as stable, none flaky, one dead at (R = 10, cold, reference environment). The single dead artifact is the informative case: it fails 0/10 alone and succeeds 10/10 when its trajectory is replayed in order, because it hard-codes a subscript valid only in a primed target process; one extra request flips it (Fisher exact test, p = 1.08e-05). Instability instead concentrates in generation: 12 of the 24 cells with at least one hit are flaky there. Replaying an artifact and re-running an agent measure different quantities, and single-run scoring reports neither.

Research Square
Nanjing City Vocational College (CN)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon