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.

Can language model RL training avoid reward hacking and misalignment? Do harness improvements transfer across model scales or memorize shortcuts? Does externalizing cognitive work and state improve agent reliability? What coordination failures limit multi-agent LLM systems as they scale? How can humans calibrate appropriate trust in AI systems? How does AI assistance affect human cognitive development and reasoning autonomy? Why do agents confidently report success despite actually failing tasks? How should human oversight be integrated with autonomous AI systems? How can AI systems learn from failures without cascading errors? Does alignment training create blind spots in detecting genuine safety threats? How do interface design choices shape consciousness attribution? What memory abstraction level best enables agent knowledge reuse? How do standardized protocols improve coordination in multi-agent systems?