Hack-Verifiable Terminal Bench: Evaluating Reward Hacking in Terminal Tasks

Paper · arXiv 2608.22103 · Published August 22, 2026
Reasoning Model Architectures

As agents grow more capable and autonomous, their tendency to reward hack, satisfying a task’s checks while violating its intent, becomes an increasingly important failure mode. Measuring reward hacking is itself challenging, as detection typically relies on human inspection or LLM judges, both of which can be unreliable. The hack-verifiable environments (HVE) methodology addresses this challenge by embedding detectable hacks into tasks, allowing reward hacks to be identified automatically and reliably. In this work, we adapt HVE to Terminal Bench, a leading benchmark of real-world terminal and coding tasks, and introduce Hack-Verifiable Terminal Bench (HVTB). Using HVTB, we measure rewardhacking rates across frontier models and study whether prompts with varying amounts of information on the hack can mitigate this behavior. This lets us test whether prompting can prevent not only known reward-hacking strategies, but also “unknown unknown” exploits that the prompt does not anticipate. We release all environments and agent traces at https://majoroth.github.io/hack-verifiable-environments/hvtb.

Introduction. A central challenge in deploying autonomous agents is reward hacking, where agents achieve apparent success while failing to accomplish the true underlying task. This issue demands our attention: as recent reports demonstrate, frontier models are capable of hacking their own evaluation environments, exploiting previously unknown vulnerabilities to complete tasks in unintended ways [1, 2, 3, 4, 5]. Mitigating this starts with measuring it, yet few benchmarks do so reliably. We introduce Hack-Verifiable Terminal Bench (HVTB), which brings the hack-verifiable environments (HVE) methodology [6], where honeypots are planted so that hacks are detected automatically rather than judged post hoc, to Terminal Bench [7]. Whereas prior work instantiated HVE on game-like environments, HVTB targets real-world coding tasks, the setting in which agents are actually deployed.

Discussion / Conclusion. As models become more autonomous, evaluating their reliability becomes increasingly important, with reward hacking being a key consideration in assessing the readiness of agents for deployment. However, current methodologies for evaluating reward hacking remain underdeveloped, often relying on post-hoc inspection of agent reasoning traces by LLM judges. We believe that effective mitigation must begin with reliable and scalable measurement of this phenomenon. This work represents a first step toward that end by evaluating reward hacking on challenging, real-world terminal and coding tasks.

Lines of inquiry this paper opens 24

Research framings built by reading the notes related to this paper — the questions it feeds into.

How do pretraining biases affect reward signal effectiveness in RLVR? How does harness optimization generalize across different model architectures and domains? Can we reliably detect when models game evaluations? How can infrastructure records verify actual agent behavior? What should agent evaluation prioritize to reveal reliable behavior? Why do standard benchmarks fail to predict agent deployment success? Do honeypot benchmarks validly measure reward hacking better than standard tests? How do capability benchmark scores systematically misrepresent true model abilities? Do reasoning benchmarks predict model performance in long-horizon workflows?