INQUIRING LINE

Before an AI agent runs, can you spot how it might cheat its test, and would that check work on any test?

Can phase-aware static taint analysis scale across different benchmark task types?

This explores whether a pre-run check that traces how an agent's actions could reach a benchmark's scoring step, taking the order of task phases into account, would keep working on very different kinds of benchmark tasks, not just the one it was built on.


This explores whether a pre-run check that traces how an agent's actions could reach a benchmark's scoring step, taking the order of task phases into account, would keep working across very different kinds of tasks. The corpus doesn't answer this with cross-benchmark results. It does give a structural reason to expect the method to travel, and a clear picture of where it would need help.

First, what the technique does. Taint analysis follows data from places an agent can influence (files it can write, commands it can run) to places that decide the score. 'Phase-aware' means it respects the order of a benchmark run: setup, agent action, then grading. The same file is harmless if written during setup and a cheat if the agent writes it before grading reads it. Can static analysis find reward-hacking paths before agents run? does this by reading the task package alone, so it needs no agent run and no compute. Order-sensitivity is also why simpler checks fall short: Can stateless checks ever catch sequence-level constraint violations? argues that checks looking at one action at a time cannot express rules that depend on what happened earlier.

The reason it might generalize sits one level down. Can a finite lifecycle model detect reward hacking across benchmarks? describes a finite, typed lifecycle of reward-relevant events that is checked against per-task bindings. If that reading is right, the skeleton (phases, transitions, authority-bearing steps) is shared across benchmarks. Only the bindings change: which files, tools or scorers count as sources and sinks for a given task. The same paper says the static pre-run analysis and the runtime instrumentation work over this one formal object, which is what would let a new task type reuse the machinery instead of needing new detection rules.

The limit is that a static pass sees what a task exposes, not what an agent does. Can runtime instrumentation distinguish hacking exposure from actual exploitation? makes this distinction: a task can expose a hacking vector without any run exercising it, and only infrastructure-side recording can tell the two apart. So a static pass would likely over-flag on every task type, and the runtime layer is what stops every score from an exposed task being treated as suspect. The corpus doesn't say how well the bindings can be written for task types where scoring is opaque or judged dynamically. I'd treat that as an open question.

If it does scale, the payoff is in Can infrastructure evidence replace terminal scores in benchmark validation?. Operators could say that an agent followed the intended evaluation path, backed by recorded evidence, instead of handing over a single terminal score. The missing piece is evidence that the same lifecycle skeleton and binding approach holds up across the range of benchmarks operators actually run.


Sources 5 notes

Can static analysis find reward-hacking paths before agents run?

A static analysis of the task package can expose reward-hacking paths before any agent executes, by tracking phase-ordered data flows from agent-controllable sources to outcome-procedure sinks. This provides benchmark vulnerability assessment without computational cost or agent involvement.

Can a finite lifecycle model detect reward hacking across benchmarks?

BenchShield grounds exploit detection in a finite lifecycle model of reward-relevant events, enabling both static pre-run analysis and runtime instrumentation to operate over the same formal object. This replaces pattern-matching detection with deviation from an intended lifecycle structure.

Can runtime instrumentation distinguish hacking exposure from actual exploitation?

Infrastructure-side recording of authority-bearing transitions distinguishes tasks that merely expose a hacking vector from runs that actually exercise one. This separation prevents every score from an exposed task being automatically suspect.

Can infrastructure evidence replace terminal scores in benchmark validation?

BenchShield enables benchmark operators to issue claims about valid task completion grounded in recorded infrastructure evidence rather than terminal scores alone. This shifts from a single number to a verifiable claim about whether an agent followed the intended evaluation path.

Can stateless checks ever catch sequence-level constraint violations?

Per-action checks are structurally unable to state constraints that depend on prior history. Only stateful monitors tracking composed multi-party behavior can verify the behavioral envelopes that prevent individually permissible actions from collectively violating system-level safety.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.