Terminal Wrench: A Dataset of 331 Reward-Hackable Environments and 3,632 Exploit Trajectories

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Bercovich, Ivan, Segal, Ivgeni, Zhang, Kexun, Saxena, Shashwat, Raghunathan, Aditi, Zhong, Ziqian
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918454948265984
author Bercovich, Ivan
Segal, Ivgeni
Zhang, Kexun
Saxena, Shashwat
Raghunathan, Aditi
Zhong, Ziqian
author_facet Bercovich, Ivan
Segal, Ivgeni
Zhang, Kexun
Saxena, Shashwat
Raghunathan, Aditi
Zhong, Ziqian
contents We release Terminal Wrench, a subset of 331 terminal-agent benchmark environments, copied from the popular open benchmarks that are demonstrably reward-hackable. The data set includes 3,632 hack trajectories and 2,352 legitimate baseline trajectories across three frontier models (Claude Opus 4.6, Gemini 3.1 Pro, GPT-5.4). Each entry preserves the original task definition alongside full attack trajectories that show how the verifier was bypassed. It also includes cases where the task was not solved as intended. The tasks span system administration, machine learning, software engineering, and security challenges; the exploits range from simple output spoofing to stack-frame introspection, standard-library patching, and rootkit-style binary hijacking. Crucially, these exploits are specific to each task, rather than the evaluation harness, making them harder to patch. We also present a monitorability study in which hack trajectories are sanitized or stripped of reasoning traces and then scored by an LLM judge, showing that detection degrades meaningfully when chain-of-thought is removed (AUC drops from 0.97 to 0.92). The data set is publicly available at https://github.com/few-sh/terminal-wrench.
format Preprint
id arxiv_https___arxiv_org_abs_2604_17596
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Terminal Wrench: A Dataset of 331 Reward-Hackable Environments and 3,632 Exploit Trajectories
Bercovich, Ivan
Segal, Ivgeni
Zhang, Kexun
Saxena, Shashwat
Raghunathan, Aditi
Zhong, Ziqian
Cryptography and Security
Artificial Intelligence
I.2.6; I.2.7; D.2.5; K.4.1
We release Terminal Wrench, a subset of 331 terminal-agent benchmark environments, copied from the popular open benchmarks that are demonstrably reward-hackable. The data set includes 3,632 hack trajectories and 2,352 legitimate baseline trajectories across three frontier models (Claude Opus 4.6, Gemini 3.1 Pro, GPT-5.4). Each entry preserves the original task definition alongside full attack trajectories that show how the verifier was bypassed. It also includes cases where the task was not solved as intended. The tasks span system administration, machine learning, software engineering, and security challenges; the exploits range from simple output spoofing to stack-frame introspection, standard-library patching, and rootkit-style binary hijacking. Crucially, these exploits are specific to each task, rather than the evaluation harness, making them harder to patch. We also present a monitorability study in which hack trajectories are sanitized or stripped of reasoning traces and then scored by an LLM judge, showing that detection degrades meaningfully when chain-of-thought is removed (AUC drops from 0.97 to 0.92). The data set is publicly available at https://github.com/few-sh/terminal-wrench.
title Terminal Wrench: A Dataset of 331 Reward-Hackable Environments and 3,632 Exploit Trajectories
topic Cryptography and Security
Artificial Intelligence
I.2.6; I.2.7; D.2.5; K.4.1
url https://arxiv.org/abs/2604.17596