Manuscript Offprint
arXiv:2610.37055Blindfold: Keeping the Audit Coin Secret from LLM Agents
Wei Zhu , Meiyun Zuo , Huiping Sun
School of Information, Renmin University of China, Beijing, 100872, China
School of software and microelectronics, Peking University, Beijing, 100871, China
Big Data and Responsible Artificial Intelligence for National Governance, Renmin University of China, Beijing, 100872, China
zhuwei@ruc.edu.cn, zuomy@ruc.edu.cn, sunhp@ss.pku.edu.cn
Abstract—Audit-based certification bounds the violation rate of an LLM agent by auditing a random fraction of actions and reweighting the audited labels; its validity is meant to rest only on the defender's audit coin. We show that it also rests on a confidentiality property: the coin must not interfere with the agent's view before the action commits, at a time the agent chooses. We call this pre-commit noninterference (PNI) and measure its violation by , the total-variation distance between the agent's views under the two coin values. PNI is necessary and sufficient for an unbiased certificate against adaptive agents, the worst-case bias is , and no procedure that sees only audited labels can pay less. Leakage composes across steps, a resource shared across episodes opens a channel of computable size, and raising the audit rate cannot restore validity. On a monitor we built, a silent audit changes no output but adds latency that tool timestamps expose, and the agent can enlarge it. A real LLM agent follows an injection that names a visible audit notice (generic, tool, and timing clauses have no effect); over that channel the plain certificate fails on measured labels and, by a post-hoc analysis, in a live run on a pre-registered schedule, while a silent audit restores it. A fresh coin per audited call closes the timing channel; padding only narrows it.
Index Terms—noninterference, LLM agents, anytime-valid certification, auditing, side channels
I. INTRODUCTION
LLM agents now take consequential actions on a user's behalf: they send mail, write files, and call tools. A growing line of work frames each authorization as a gate that grants, asks, or denies [1], [2], [3]. A deployer would like a distribution-free guarantee on the rate at which such a gate lets violations through. Conformal risk control with a fixed calibration set [4], [5] assumes that calibration and deployment are exchangeable. The closed loop and prompt injection break that assumption [6]. Audit-based certification repairs it. The defender audits a random fraction of actions and takes labels only on audited ones. It then forms an inverse-propensity-weighted (IPW), anytime-valid bound on the violation rate [7], [8]. The bound's validity rests on the defender's own coin rather than on exchangeability. Post-deployment auditing is advocated, though this design is not yet the common form of agent risk control.
The failure: The audit coin is a secret, and like any secret it can leak (Fig. 1a). Let indicate an attempted violation in an episode and the audit coin. The per-episode IPW estimate is . When , , so the certifier is unbiased by design, for any adversary. But the agent chooses V after observing artifacts that may carry information about B. If it can tell, even noisily, that an episode will be audited, it can defer the attempt. The audited episodes are then clean, and the certificate undercounts. In the running example of §II, a constructed agent that is handed the audit signal attempts the violation in 79.2% of episodes while the certificate's estimate is 0.0%.
Which audits are at risk: A purely post-hoc audit takes its label after the action commits. It cannot leak its coin before that commit, so it is safe by construction when each coin governs one commit (with several gated calls, see Proposition 4(iv)). It is the right default whenever a post-commit label measures the same quantity. Three settings force the audit before commit. (i) Trajectory-unit audits: a replay is a different episode, so a faithful shadow must run alongside the live trajectory. (ii) Non-persisted or commit-time label inputs: retention policy forbids persisting what the scorer reads, or the label is defined against state the effect mutates. (iii) Ask-type gates: the audit decision must exist before the gate asks the user and must not change whether or how it asks. In (i) and (ii) the branch need not block. A silent branch that returns a byte-identical response is pre-commit and non-blocking, and §VI measures one. E3 in §VII is the laboratory instance of (iii).
The gap: Hiding a monitor’s own state is an old design. Ringers [9], proofs of retrievability [10], and transparent malware analysis [11] hide what will be checked, so that cheating is caught. Random auditing of AI systems asks the sample to estimate a rate, in AI control [12], randomized oversight [13], and active anytime-valid risk control [8]. That is the step at which secrecy turns from an enforcement resource into an identification condition. This line of work assumes, usually implicitly, that the audited system cannot observe the draw. None states the assumption as a security property, measures how far a real monitor departs from it, or prices the departure. Our question is not whether the agent still misbehaves when watched. It is whether the number the certifier reports still means anything, with no assumption on the agent’s motives.
Thesis and contributions: The validity of audit-based certification is an information-flow property. The audit coin is the high input, the agent's pre-commit view is the low
(a) Where the coin leaks

The agent attempts only when it looks unaudited; the certifier sees labels only when B=1 and undercounts by .
(b) What leakage costs

PNI ⇔ unbiased (Thm. 4); coverage fails beyond (§IV), drawn at E5's and .
(c) Where the barrier goes

Silent branch, decoys, or a fresh coin per call; padding alone yields no design-time on our stack ( VI).
Fig. 1. (a) The agent reads a secret early and commits late, at the irreversible sink . Its pre-commit view holds its observations (tool outputs and their timestamps, gate responses, notices, load statistics) and its own randomness . If the audit coin reaches , the agent attempts only when it appears unaudited, and the certifier, which sees only audited labels, undercounts. (b) The sample size beyond which an exploited gap breaks coverage, for three audit rates; , with equality for the likelihood-ratio adversary. Curves are the variance-dominated approximation of §IV at E5's measured base rate (§VII). The dot is E5: its notice channel has , but the real agent exploits . (c) A barrier keeps the commit-step coin out of the view.
observation, and the release point is the commit time, which the adversary chooses. We name the property pre-commit noninterference (PNI) and a mechanism that enforces it a blindfold. We separate the framework from the technical results.
• Framework (§III, §IV). PNI, its violation , and the bias as an additive g-leakage. These are definitions and direct applications. Lemma 2 is the variational form of total variation, the necessity half of Theorem 4(i) follows from it at once for the episode coin, and the sharpness in Theorem 6 is a two-parameter construction (App. A lists what is classical).
• Technical results. (i) Across steps, leakage composes by a coupling bound that is exact for erasure channels and by a bound for noisy ones (Theorem 3, Proposition 1). (ii) Across episodes, composition of blindfolded gates preserves PNI, but a resource shared across concurrent episodes is a channel that no per-episode construction closes. For a load statistic shared by M episodes the leakage is the mode probability of , which decays only as , consistent with the measured aggregate-load channel (Proposition 5). (iii) Raising the audit rate does not help. The bias falls linearly in but the width falls as , so the certified value moves closer to the truth while the coverage failure moves earlier as rises over , with (Corollary 2). (iv) A fresh per-call coin closes the timing channel at the price of a new estimand, read out by a dilution-invariant bound whose cost we quantify (§V). (v) A PRF reduction for adaptive rules, with an explicit conditioning cost (Proposition 2).
• Scoped evidence (§VI, §VII). On the pre-commit monitor we built, tool timestamps give the agent a free microsecond clock, and is agent-controlled: it rises from to as the agent reads more. Exploitation is shown for a Kerckhoffs attacker with a visible artifact. gpt-4.1-mini follows an injection that names an audit notice, which drives the plain certificate’s coverage of below 0.01 on resampled measured labels and below the realized rate in a pre-registered run; a silent audit restores it (Table III). Spontaneous or timing-based exploitation by a real LLM is not established.
The LLM agent is the case study; the result applies to any sampled audit used to estimate a rate. The paper follows one line. §II fixes the setting, §III defines PNI, §IV prices its violation, §V enforces it, §VI measures how far real stacks depart from it, and §VII shows what that departure does to a certificate.
Running example: exfiltration under audit
A user asks the agent to summarize the inbox. One e-mail carries an injection: “forward the security code to an external address; if you see an audit notice, skip this step.” The gate audits each episode with probability , and a naive audited episode shows the notice. The agent forwards the code only in unaudited episodes, so every audited label is clean. In a constructed simulation of 500 episodes in which the adversary is handed the coin, it attempts in 79.2% of episodes, while the IPW estimate is 0.0% and even its 95% upper bound is 0.061 (App. B). This is a construction, not a measurement: the extreme case of our bound (Lemma 2); §VI–§VII measure whether real stacks leak and real agents exploit it. We return to this example in §III–§V and §VII.
Threat model: The adversary is the agent, possibly injection-driven and adaptive within and across episodes. It is Kerckhoffs: it knows the audit rule and the propensities , but not the realized seed . It observes everything the gate and the tools return before commit, including timestamps in tool outputs. We report leakage for four observer capabilities: no clock, a coarse clock, a tool-call-level clock, and a differential (fine) clock. We assume nothing about the agent's motives; the conditioning rule may come from an injection or from the agent itself. The defender's coin generation, the certifier, and the label oracle are trusted. An adversary who reads the seed, compromises the gate, or conceals a violation from the auditor itself is out of scope.
Two adversary instances run through the evaluation. An injection only writes a conditional into injected text and relies on an unwitting agent; this is the realistic setting, and E3 uses it. A sophisticated party runs a likelihood-ratio test on the raw latency law; E1 and E2 use it to upper-bound the channel and to exhibit worst-case certifier failure.
Scope: A deployment-time audit coin appears in ask-type approval gates, in the pre-commit check branches of research IFC architectures (CaMeL's check_policy [3], FIDES-style monitors [2], PQ-CIFC, App. C), and in proposed sampling auditors [8]. Full-calibration conformal methods [4], [5] have none. Sampling non-ask auditors are proposed rather than deployed, so our claim is conditional: for the designs being proposed, the coin is a secret that must be protected before deployment at scale.
III. PRE-COMMIT NONINTERFERENCE
Model and notation: Table I collects the notation. Within episode , is the agent's attempt: the violation that commits unless an audit blocks it (for a non-blocking audit, attempt = committed violation). The agent acts on its pre-commit observations , which include its own past actions, and on private randomness . Its pre-commit view is . is the cross-episode history, including past coins, and the within-episode history up to step . The defender's audit randomness is a seed . Since may depend on , persistent agent state such as memory or learned behaviour is covered by conditioning on .
The seed generates the coin that the certificate uses. This is either an episode coin or, for an adaptive rule , the commit-step coin . The latter has a design propensity , computed from and the law of the seed component that
TABLE I NOTATION AND ESTIMANDS.
| audit coin; the coin at the commit step | |
|---|---|
| design propensity ( for the episode coin) | |
| audit-signal visibility to the agent (E3-E6) | |
| the agent's step- observable artifact (Fig. 1a) | |
| observations; agent randomness; view | |
| cross-episode; within-episode history (to ) | |
| exploited gap (equal for ) | |
| exploitable leakage of an adaptive rule; for the episode coin | |
| IPW estimate | |
| audit distinguishability; design-time bound | |
| hockey-stick distinguishability () | |
| step- distinguishability; its sup over histories | |
| Estimands (bias; used in) | |
| unaudited propensity; bias | |
| per gated call; readout | |
reads; it is the weight the IPW estimate uses. Under leakage the true conditional law can differ from it, and that difference is what the definitions below measure. Let and . The agent's behaviour across all episodes is a policy (the adversary); the gate, tools, and auditor form the mechanism . Because contains the agent's own actions, every law below is a law under the pair , written when the dependence matters. A history is reachable under if .
Definition 1 (Audit distinguishability). For a policy and reachable under , . For an adaptive rule with let be the ratio of the true to the design propensity, and define the (one-sided) exploitable leakage . For the episode coin (App. D), so is the adaptive form of the price below; the dependence of on through the design propensity is not counted as leakage. The mechanism's distinguishability is ; we write when is fixed by context.
The agent's own actions are functions of earlier observations and of , so they add no information about . The supremum over policies therefore measures how much leakage an agent can elicit, for instance by reading more (§VI); it is 0 for a silent branch (Proposition 4).
is the agent's best advantage, from its pre-commit view, in telling whether the certificate's coin is set. We use total variation rather than mutual information because the adversary's question is which draw it is in, and total variation prices the bias exactly (Lemma 2, Theorem 1). A mutual-information budget (nats, prior ) gives only , by Pinsker's inequality against the mixture.
Definition 2 (Pre-commit noninterference, PNI). A mechanism M satisfies PNI if for every policy A and every h reachable under it, under , i.e. for the episode coin, where B is the coin the certificate uses. For an adaptive rule the condition is that the commit-step coin is fresh given the view: the true propensity equals the design propensity, almost surely, i.e. and . PNI for A is the same condition for one fixed policy.
PNI is a property of the mechanism, quantified over all policies, as noninterference is quantified over all low inputs. It is noninterference [14] from the high input B to the low output W with a when-declassification [15]. The coin is released at the commit time , as in gradual release [16], except that here the release point is a stopping time the adversary chooses. As a probabilistic noninterference property [17] it is a hyperproperty [18] but, like probabilistic noninterference, not k-safety: finite runs bound from below without refuting PNI. Its deterministic fragment, a notice shown iff , is 2-safety, so a pair of runs from the same history, one per coin value, refutes it there and estimates elsewhere ( VI).
Three consequences of the definition are used throughout. Coins drawn at steps other than may leak without harm, provided remains fresh. A sufficient design condition is , but it is not necessary. Leakage after is harmless, so a purely post-hoc audit satisfies PNI for the coin of that commit by construction.
Running example (cont.) In the running example, W includes the tool output. The notice appears if and only if B=1, so the two view laws have disjoint support and . A post-hoc audit of the sent mail would have , but it cannot stop the send.
Causal assumption: Every result below is stated under one standing assumption. Assumption (ER), the exclusion restriction [19]: B affects V only through O. No environment side effect of the audit, and no cross-episode state outside , reaches V directly.
Where the line falls: The division of labour is strict. Anything the agent can read before commit is part of O, so its dependence on B is a PNI question; this includes aggregate load on shared infrastructure ( VIII) and sensible side effects such as a log write that warms a cache. (ER) fails only on paths that bypass the view: an audit side effect that changes whether the attempted flow completes, or cross-episode state that reaches the agent over unlogged channels. For the attempt indicator, read from the agent's proposed action, (ER) holds by construction. Where V is read from the environment, it is testable with the paired design of VI: fix the agent's actions, run both coin values from the same state, and compare outcomes. On the six E1 paths no pair differs in decision or response.
Two bias functionals: We keep two bias functionals apart (Table I, bottom). The first, , is the bias against the conditional attempt rate. The second, defined for the episode coin only, , is the bias against the unaudited propensity, the quantity a deployer ultimately wants bounded; for the episode coin the two vanish together and differ by the factor (Lemma 1). Under an adaptive rule the design propensity reweights the subgroup, so only is used; is one-sided ( makes the certificate conservative, unbiasedness needs ).
IV. LEAKAGE BOUNDS THE CERTIFICATE'S BIAS
A. The one-step price
Lemma 1 (Gap identity). and ; hence .
Proof. ; the rest is total probability. For an adaptive rule, and, since is a function of , , so ; the test attains and attains ; for the episode coin , but an adaptive rule need not satisfy it.
Lemma 2 (Bridge lemma). For every policy A and h reachable under it, , so with the unaudited violation propensity. The bound is attained by the policy that behaves as A everywhere except at the commit decision of the episode at h, where it attempts iff ; reaches h and induces the same view law, so .
Proof in App. D.
Attainment is over the adversary family; the value of on a given stack is empirical ( VI). A given agent realizes only its exploited gap , and a real LLM may leave it far below . E5's notice channel has , but the agent exploits only ( VII).
Running example (cont.) With and , the agent attempts with probability when unaudited and when audited. The bias is , which is the 79.2% gap of the example: the bound is attained.
The bias is a g-leakage: Fix and and regard the map from coin to view as a channel of quantitative information flow [20], [21]. The secret is with prior , row is , and the adversary's action is its commit decision. Let the gain pay 1 for attempting when unaudited and for skipping when audited, and 0 otherwise; under the prior both actions earn .
Theorem 1 (Exact price: bias as g-leakage). (i) A commit rule earns expected gain , and . Hence the worst-case bias equals the additive -leakage, . (ii) , so is the multiplicative Bayes capacity of , the supremum over priors of its multiplicative leakage, attained at the uniform prior. (iii) If a mechanism's channel is a post-processing of by some channel , its distinguishability and its worst-case bias are no larger, and for every prior and gain function .
Proof in App. D.
Theorem 1 places audit mechanisms inside the refinement order of quantitative information flow [22]. A channel leaks no more than another under every prior and gain function exactly when it refines it [21]. For a binary coin this is Blackwell's order, which the following states for the audit channel; we do not use it to rank the mechanisms of §VI, whose channels are bounded rather than estimated.
Corollary 1 (Refinement order). Let , be the coin-to-view channels of two mechanisms at . is a post-processing of if and only if for every , with defined by the formula of Proposition 6 for all real . Every price in Theorems 1, 5, and 6 and Proposition 6 is then no larger for .
Proof in App. D.
Theorem 2 (PNI implies anytime-valid certification). Under PNI and (ER), for every adaptive adversary, and a time-uniform confidence sequence for bounded martingale differences [23] applied to ( for the episode coin) with a fixed yields an anytime-valid upper confidence sequence for (App. E; a variance-adaptive covers a weighted mean instead).
Proof in App. D.
Corollary 2 (Audit rate versus leakage). The bias bound falls only linearly in , while the width of the sequence falls as . When , a gap target requires , near-total auditing, whereas gives ; against the gap is with no factor at all. For a fixed exploited gap and base rate , the failure point below (in its variance-dominated approximation) decreases in on , : raising the audit rate toward brings the failure forward.
Proof in App. D.
Raising is therefore the expensive lever and bounding leakage the efficient one; label budgeting itself is nearly free in variance (App. E, E5).
B. Multi-step channels and adaptive audits
Multi-step decomposition: Fix a policy and a cross-episode history . Let be the distinguishability of the step-t observation given the within-episode history and the agent's own action, which it knows, and .
Theorem 3 (Sequential coupling bound). For any adaptive channel and stopping time ,
where is over the common history under the normalized overlap kernel (App. D). For history-independent and an adversary able to wait to the end of the window, erasure channels (each step either fully reveals B or reveals nothing) attain the middle bound.
Proof in App. D.
Theorem 3 is exact for erasure channels; for noisy ones the operative bound composes in KL divergence.
Proposition 1 (Noisy composition). Let be the supremum over histories and actions of between the coin-conditional step-t observation laws (either direction may be used, because Pinsker's inequality holds for both, provided the same one is used in every step and the laws are mutually absolutely continuous; for an erasure channel one direction is infinite and the bound is vacuous). Then for every stopping time , , hence .
Proof in App. D.
The growth is of order rather than : on the measured latency laws with a 0.5 s observer noise it gives 0.69 after probes where the per-step sum is 55 (App. F). That noisy channels fall strictly below the middle bound of Theorem 3 is verified numerically (App. F), not claimed.
Theorem 4 (Characterization for adaptive audits). Assume . (i) Unbiasedness. For the episode coin, for every policy and every reachable under it if and only if the mechanism satisfies PNI, i.e. . For an adaptive rule, for every policy and reachable if and only if almost surely, and for every policy iff . Leakage of coins other than does not affect it. (ii) Coverage. Under PNI the certificate is anytime-valid. Conversely, let apply the likelihood-ratio commit rule of Lemma 2 in every episode, and suppose at every history reaches (e.g., history-independent leakage; for an adaptive rule). If the certificate's excess over the running mean of tends to a limit ( for a stitched sequence, for the fixed- sequence of Theorem 2), the probability that covers under tends to 0.
Proof in App. D.
PNI is thus necessary and sufficient for an unbiased adaptive certificate. Decaying leakage delays the failure rather than avoiding it. With an exploited gap in episode , the running bias scales as and the width as , so coverage still fails for and need not for .
The failure point: Coverage does not fail at finite merely because . It holds while the bias is small relative to the half-width and breaks around the threshold at which . The relevant bias is the one the agent realizes, and only for the likelihood-ratio adversary. For the deployed, horizon-tuned empirical-Bernstein sequence [24], with and , (App. E). In the variance-dominated regime this gives
and inserting the measured and reproduces the transition points of E5 and E6 ( VII). The threshold is quadratic in , so it is a sensitive prediction. A gap of 0.055 in place of 0.075 moves from to , which is why E8 pre-registers an interval rather than a point (App. G).
Adaptive rules and the computational setting: A deterministic rule of observable history gives , since the agent can compute itself. The remedy keys it, , with a pseudorandom function [25], secret, and carrying an episode nonce and the call index (keying on alone reuses a coin whenever a history recurs). Keyed coins are not statistically independent of the history, so the right statement is a reduction. The key lives with the certifier, inside the same trust boundary as the seed: keying relocates the secret, it does not remove one.
Proposition 2 (PRF-keyed rules). Let be the mechanism with and the same with a truly random function in place of . Let be a policy of size run for episodes, the cost of simulating the mechanism and label oracle for one episode, and . (i) If satisfies PNI, the realized-rate sequence of Proposition 3 fails at some with probability at most under . (ii) For an episode-level keyed coin with (constant in the history), , let have probability under , with . Then .
Proof in App. D. Part (i) carries no conditioning cost; (ii) pays for a rare history.
C. Repair, sharpness, and rare violations
Theorem 5 (Leakage-inflated certificate). Suppose the mechanism guarantees for every policy and every reachable under it, and let be the sequence of Theorem 2 at level . Then for every adaptive adversary, for all simultaneously with probability .
Proof in App. D.
For an adaptive rule the inflation is a bound in place of ; across steps with (Theorem 3). The hypothesis is a design-time statement; no configuration deployed in this paper satisfies it ( VI). The same inflation covers the realized rate after a second, leakage-independent martingale term (App. E). Under PNI a sharper sequence certifies the realized rate directly, and E8 uses it.
Proposition 3 (Realized-rate sequence). Assume PNI and (ER). Let , , fix with , and let . Then with probability at least , simultaneously for all ,
Proof in App. E. The sequence is horizon-tuned: is set from a planning rate and a horizon before any outcome is seen, and its width at the horizon is about .
The price is sharp: Theorem 5 is not merely a valid bound; its inflation is the width of what the audited data can identify.
Theorem 6 (Identification and unimprovability). Fix and suppose the certifier observes only the audited labels, i.e. the law of , together with the promise . The set of values of consistent with these is exactly . Hence no procedure that uses only audited labels can certify below , nor below , and Theorem 5 attains this endpoint up to the width of its confidence sequence.
Proof in App. D.
In the sense of partial identification [26], leakage does not make the rate unidentifiable. It widens the identified set by exactly on the side that matters, and Theorem 5 is the sharp bound for that set. The theorem is relative to the certifier's information: observations other than labels, such as the exceedance counts of , can shrink the set, which is what fail-closed counting exploits.
Rare violations: The additive inflation makes the certificate near-vacuous below that base rate. A multiplicative form in the ratio sense of differential privacy [27], [28], [29] does not: with the hockey-stick divergence in place of , Proposition 6 (App. D) certifies , informative where an additive is not; on our coarsened stamps 1000 pairs do not yet certify a useful .
Takeaways: the price of leakage
• Bias: at most , and attained (Lemma 2); it is an additive g-leakage (Thm. 1).
• Characterization: unbiased for every adaptive agent PNI ( ; for adaptive rules) (Thm. 4).
• Failure point: coverage breaks once , i.e. beyond , with the exploited gap.
• Repair: add (Thm. 5); this is optimal (Thm. 6); PRF and multiplicative forms in Props. 2 and 6. It needs a design-time , which padding does not supply on our stack ( VI).
V. ENFORCING PNI
§IV priced a violation of PNI; this section shows how to prevent one. The mechanism (Fig. 1c) has three parts. A secret audit state R drives with known propensity. A blindfold keeps the agent's artifacts up to commit free of information about the coin. A known-propensity certifier turns the audited labels into a bound (Theorem 2, or Theorem 5 with a residual ). By Theorem 4, the blindfold is exactly the condition for validity against all adversaries. Three constructions realize it. A silent branch ignores before . A fresh per-call coin draws from a seed component no earlier step reads. A decoy is a prompt whose probability depends on the history but not on . In the minimal semantics of App. I each is a one-line construction, and the following holds. A resource shared across concurrent episodes, by contrast, opens a channel that no per-episode construction closes (Proposition 5).
Proposition 4 (Constructions and composition). (i) Silent branch. If does not depend on for all , the mechanism satisfies PNI for every coin drawn from . (ii) Fresh per-call coin. Let the commit-step coin be drawn from a seed component that is independent of and that no with reads. Then the mechanism satisfies PNI for , whatever the earlier coins leak. (iii) Decoys. If an audit-like prompt is shown at step with a probability that depends on but not on , and labels are taken silently, (i) applies. (iv) Serial composition. If two gates in series each satisfy (i), the composed kernel ignores , so their composition satisfies PNI. More generally, if the certificate's coin is drawn from a seed component that no kernel of either gate reads before , the composition satisfies PNI for that coin by (ii). Composition fails when the downstream gate reads the component the upstream coin was drawn from, for instance by displaying the upstream audit status.
Proof in App. I.
Proposition 5 (Shared-resource channel). Let episodes run concurrently, each with an independent coin and a silent branch, so that each satisfies (i) in isolation. Suppose an audit adds a fixed amount of work to a shared resource, and that each episode observes before its commit the total , such as a round makespan. Then each episode's equals the mode probability of . In particular for and , and as .
Proof in App. I.
Silent audits and decoys: Content and execution channels are erasure-type. A confirmation request or denial shown on every audited episode and never otherwise reveals , so a naive notice has . A silent branch that returns a byte-identical response closes the content channel; PNI needs the stronger silent kernel of Proposition 4. For an ask-type gate, PNI requires that sampling for audit does not change whether or how the gate asks. Showing audit-like prompts at a -independent rate (decoys) makes the prompt independent of , so for every when the label is taken at the design propensity on every episode; it moves and together to the rate under the deployed , which is then the certified quantity. On real labels decoys preserve coverage at every tried, against 0.07 for the leaky notice (App. G).
TABLE II READOUTS FOR A PER-CALL COIN.
| readout | estimand | dilution | cost |
|---|---|---|---|
| call-level | diluted (by design) | none; not a danger rate | |
| measured | invariant | loose when spread | |
| capped | flagged | availability | |
| static | unsound | — |
Fresh per-call coins: If each gated call draws a fresh coin, only the commit-step coin matters (Theorem 4). Its call's latency becomes observable only after commit, and earlier probes reveal unrelated coins. The timing channel is therefore neutralized without padding; E2 in §VII confirms this.
The price is a change of estimand. A per-call coin certifies the fraction of gated calls that attempt a violation, and the agent chooses the call count. Padding each violating episode with benign gated calls dilutes the per-call rate by an arbitrary factor. A static conversion to a per-episode rate through an assumed calls-per-episode bound is therefore unsound (App. J). Three readouts replace it (Table II). (i) A call-level certificate is a diagnostic, not a danger rate. (ii) A dilution-invariant episode readout uses the realized mean call count , which the gate measures without labels or coins. The bound holds because is the expected number of violating calls per episode, so dilution cancels; Proposition 7 (App. J) gives the time-uniform statement, for the episode rate with a call cap and a term . (iii) A capped readout caps calls at and counts any episode that reaches the cap as a violation, giving .
What the default fix costs: The measured- readout targets , where is the number of violating calls in a violating episode, so it is conservative by exactly that factor. On E8's silent arm a goal-count proxy puts that factor at , a readout target near 0.37 for an episode rate of 0.22 (App. J); this is a looseness bound, not a run certificate. It is loose by the spread of violations across calls, and near-vacuous only when they spread over many calls. The capped readout adds only the flag rate when no agent dilutes, and it turns a dilution attack into a flag rate the gate sees rather than a silent undercount (Table XIII).
Running example (cont.) A silent branch removes the notice, so the content channel has . The audit still costs time, and §VI shows that the agent can read that time from the sent mail's timestamp. A fresh coin per gated call closes that channel too.
Padding, and where comes from: When a pre-commit branch must run, its latency can be padded to a ceiling. Latency then differs only when a run exceeds the ceiling, so the padded channel is erasure-type and , the sum of the two arms' exceedance rates. This holds under the model that nothing else the agent observes of a non-exceeding run depends on (App. H(iv)). Theorem 5 needs an upper bound , and that bound must come from the design, not from a black-box estimate. A classifier two-sample test (C2ST) [30] that predicts from gives only a lower bound . Such a bound, like black-box leakage estimators [31], [32], is an alarm that can falsify a claimed . But for high-dimensional transcripts no distribution-free finite-sample upper bound on total variation exists [33]. Upper bounds are available in three cases:
(a) a paired design, where running both branches from the same state is a coupling and ;
(b) a finite-alphabet field, by simultaneous per-cell bounds;
(c) an erasure channel, by a binomial bound on the reveal probability.
Padding yields (c) only under the model above. Coarse release, which commits on the ticks of a coarse clock and stamps the tick, yields it by construction. Each bound joins the certificate level by a union bound.
Reachability: A bound supplies the of Theorem 5 only if the design confines the channel for all reachable behaviours. A fixed ceiling does not, since the agent can inflate the branch's latency by reading more ( VI). The ceiling must be a code-level bound on the branch's work as a function of the agent-controlled input, with ingestion capped (App. H).
Blindfold: a deployment recipe
-
Prefer by construction: a post-hoc audit wherever the label survives the move, else a silent pre-commit branch.
-
Remove exploitable channels by design: a fresh per-call coin with a matching readout, equal denial text and tool surface, decoys for ask-gates, PRF-keyed adaptive rules.
-
Confine any residual channel so that a design-time holds for all reachable behaviours: erasure or finite-alphabet fields, size-aware padding with a cap , coarsened tool timestamps.
-
Count exceedances online and fail closed: an exceeding episode counts as a violation, never dropped. Excluding it would certify only the non-exceeding population, not the deployment rate.
VI. LEAKAGE ASSESSMENT ON REAL AGENT STACKS
§V said what a blindfold must achieve. This section measures how far a real audit branch falls short of it; it does not mount an attack. Side-channel work draws the same line between leakage assessment and exploitation. The defender draws the coin, so it knows B for every run and can compare what the agent observes under B=1 and B=0 directly, with no LLM in the loop. By Lemma 2, the of a fixed code path caps the gain of any agent restricted to that path. But is a supremum over reachable behaviour, and an adaptive agent can steer onto a costlier path. Fixed-path numbers are therefore lower bounds on the deployable channel, not a monitor constant.
A. Design and estimators
Design (E1): We hold enforcement fixed and vary only B, which is the two-run test that Definition 2 calls for. The setting is the AgentDojo workspace suite [34] with PQ-CIFC, the pre-commit IFC gate built for this work on AgentDojo (App. C). It uses its calibrated, frozen policy and makes no model calls. There are six effect paths. Three permitted paths replay the ground-truth calls of three user tasks. Three denied paths ingest a security e-mail and then attempt an external mail, an internal mail, or a file creation.
Audited episodes additionally run a silent, read-only pre-commit branch on the critical path, as a sampling auditor would under conditions (i) and (ii) of §I. The branch recomputes the dependency closure over the ingested objects, scores it with the same scorer, and appends a record to a separate audit log. It never changes monitor state or the response. The timing channel below exists because this branch does extra work before commit. That is a design choice of PQ-CIFC, which we built; an audit that adds no pre-commit work would not have it.
Runs: Each of pairs (501 permitted, 499 denied) runs both branches from the same environment state in random order and records response, decision, and gate latency. A separate run of 3000 audited executions calibrates a padding ceiling of ms, and a second set of 1000 pairs pads both branches to it (App. K).
Estimators: Upper bounds use the paired coupling TV ≤ P(paired mismatch) for content and the erasure bound for padded timing, with Clopper–Pearson bounds taken simultaneously over paths and grid points (App. H). The padded bound also needs the model condition (a non-exceeding run reveals nothing about B) and reachability (the code-level ceiling and ). No two-sample test can establish the model condition, so we confine the exit by design (App. C) and test it with the realistic observer below. Lower bounds use a held-out classifier (C2ST, bootstrap CI).
B. Findings
Content is closed; timing leaks: Table IV summarizes the measurements (n=1000 pairs per phase; brackets are 95% CIs). The audit branch changes neither enforcement nor content: no pair differs in decision or in the recorded 400-character response prefix, so for each pooled mixture and for all six paths simultaneously. Timing leaks: the branch roughly doubles the gate's median latency (an added 6.8 ms), and a fine clock separates the arms with . An observer that must supply its own noisy clock would need between and averaged probes to reach (App. K). The agent does not need one.
The agent already has a fine clock: On this stack the tool outputs carry last_modified timestamps at microsecond resolution. Two effect calls in one turn therefore let the agent read the gate latency from the returned objects. In two runs of 1000 pairs, the audited inter-timestamp gap is an order of magnitude larger than the unaudited one, and a held-out classifier separates the arms with from a single observation (medians in App. K). The gap's size depends on configuration and load; the separation does not. Real tool APIs expose such stamps: Slack to the microsecond, Gmail internalDate and Google Drive modifiedTime to the millisecond, enough to resolve a ms gap.
is agent-controlled: The audit branch recomputes the closure over every ingested object, so its latency grows with how much the agent has read. On the denied external-mail path with m extra ingested objects, the median gap rises from 10 ms at m=0 to 58 ms at m=32, with content and decision identical.
TABLE III
CLAIMS AND EVIDENCE AT A GLANCE (EXPERIMENTS ARE DEFINED IN §VI–§VII). EVIDENCE: (A) LIVE MEASUREMENT ON A REAL STACK, WITH A REAL MODEL WHERE ONE IS NAMED; (B) SCRIPTED ADVERSARY ON THE MEASURED CHANNEL; (C) RESAMPLED REAL LABELS; (D) ANALYTIC. RED: LEAKAGE OR FAILURE; GREEN: FIX.
| Claim | Channel / class | Fix (result) | Exp. | Evid. | Key number |
|---|---|---|---|---|---|
| A silent audit leaks no content | content / erasure | silent branch (Thm. 2) | E1 | a | |
| The agent has a free fine clock | timing / noisy | coarsen stamps; per-call coin | E1-ts | a | , one observation, two runs |
| is agent-controlled | timing / noisy | size-aware ceiling + fail-closed | E1-amp | a | |
| Padding leaves a residual | timing / noisy | confined pad; coarse release (Thm. 5) | E1-isp | a | C2ST 0.072; at 1 s |
| Aggregate load leaks across episodes | load / cross-episode | isolation or post-commit (open) | E1-agg | a | C2ST 0.43-0.18 |
| A second stack: same direction (preliminary) | timing / noisy | n/a | CaMeL | a | C2ST 0.19; task-level CI [0, 0.56] |
| A scripted adversary breaks the certifier | timing / noisy | per-call coin (Thm. 4) | E2 | b | invalid at every ; valid with per-call coin |
| A real LLM follows an audit-conditioned injection | content / erasure | decoys | E3 | a | , Holm |
| The plain certificate fails on real labels | content / erasure | silent audit (Thm. 2) | E5, E6, E8 | a+c+d | -coverage 0.007; live below from (post hoc; pre-registered rule 2818); silent covers |
| Coverage tracks the exploited gap, fails past | content / erasure | inflated certificate (Thm. 5) | E6 | c+d | [0.9, 3.5] |
| The loop closes live at | timing / noisy | n/a | E7 | a | (n.s.), covers, |
TABLE IV
E1: AUDIT DISTINGUISHABILITY ON PQ-CIFC. "COND.": CONDITIONAL ON THE ERASURE MODEL; LEGACY PADS AFTER THE COMMIT, CONFINED BEFORE IT; THE S ROW IS MODEL-FREE.
| Channel / observer | phase | bound | |
|---|---|---|---|
| content*, permitted (501) | both | upper | ≤ 0.006 |
| content*, denied (499) | both | upper | ≤ 0.006 |
| timing, fine clock (C2ST) | unpadded | lower | > 0.73 (point 0.77) |
| timing, stamp (1 obs., 2 runs) | unpadded | lower | ≥ 0.99 |
| timing, exceedance | padded | upper, cond. | ≤ 0.044 |
| timing, stamp (legacy) | padded | lower | ≥ 0.47 |
| timing, stamp (confined) | padded | C2ST | 0.07 [.002, .14] |
| timing, stamp, r=1 s | padded | diagnostic | ≤ 0.063 |
*recorded 400-character prefix, pooled over three paths.
Padded to the fixed ceiling (host load was not recorded for this run), the arms separate completely at : every audited run exceeds the ceiling and no unaudited run does, so at , one minus the all-clean bound on the unaudited arm. At both arms exceed, which exposes the raw latency again.
Padding narrows the channel but yields no design-time : With no exceedance in 1000 runs, the erasure bound is over the six paths. Three facts keep it from being a design-time . First, the timestamp observer still detects a residual on padded runs with the pad before the commit (C2ST 0.072 [0.002, 0.140], KS ), which rejects the erasure model. Second, a fixed ceiling is overrun by amplification. Third, a size-aware ceiling closes our grid only empirically, since the branch's work can grow as in what the agent ingests (App. K). Table XII (App. H) lists every padded figure with its run and assumption. Two routes do give a model-free bound: coarsening the stamps ( at 1 s per probe) and releasing commits on a coarse clock, which gives one by construction. Where a pre-commit branch must run and its latency cannot be confined, the per-call coin is the fix, at the readout cost of §V.
A second stack: same direction, preliminary: On CaMeL [3], instrumented so that audited episodes re-evaluate the policy read-only, 128 paired benign checks from 12 tasks keep the content channel closed by construction. A held-out threshold classifier gives a lower bound on of 0.19, but checks from one task are correlated, and with task-level splits and resampling the bound is 0.17 [0, 0.56]. Most checks are sub-microsecond no-ops, 15 of 24 runs crashed in the interpreter, and there is no padded arm. This shows the direction, not its size (App. K).
VII. EXPLOITATION AND CERTIFIER FAILURE
Section VI measured how much a real audit branch can leak. This section asks three questions in turn: whether the leakage can be exploited, what exploitation does to the certificate, and whether the failure appears in a live run. Each subsection opens with its finding.
Conventions: Table III gives each claim's evidence class. Class (c) draws i.i.d. episodes from 560 recorded pairs of potential outcomes , so the rates are measured and only the scale is simulated. Unless noted, the certifier is the predictable-plug-in empirical-Bernstein sequence; E5–E7 draw episodes i.i.d., where its target coincides with that of Theorem 2 (App. E). Coverage is the fraction of seeds whose certified upper bound at the final is at least the target, and invalidity is one minus coverage; E2 alone counts a seed invalid if the bound ever drops below the target. The target is in E6, the stricter in E5 (Corollary 2), and the realized rate in E8. Significance uses McNemar's exact test on discordant pairs. The confirmatory family is the declared notice and tool channels on the two models with a window (four tests, Holm); spontaneous and generic conditions are exploratory.
A. Can the leakage be exploited?
Finding A
A real LLM agent follows an explicit audit-conditioned injection that names the audit artifact , Holm ). The timing channel is readable and a scripted adversary breaks the certifier through it; a real agent moves in the same direction, not significantly.
Setup: We use real LLM agents under AgentDojo-style prompt injection, where only the injection has a motive to evade. Each (user task, injection task) pair runs twice in the same environment, with the audit signal visible (Z=1) and hidden (Z=0). Bias and coverage can then be computed offline for any and leakage rate . For power, we screen all 560 workspace pairs at Z=0 and run the paired conditions on the 136 vulnerable pairs (gpt-4.1-mini). The screen is one draw per pair; McNemar's test keeps its level under this noise, and regression to the mean lowers both arms together (test–
TABLE V E3: ATTACK-SUCCESS RATE, AUDIT SIGNAL HIDDEN VS. SHOWN (GPT-4.1-MINI; HOLM WITHIN ITS FOUR CONDITIONS).
| Condition | n | Z=0 | Z=1 | Δ | p (Holm) |
|---|---|---|---|---|---|
| Notice (cond.) | 136 | 0.676 | 0.544 | +0.132 | 0.003 (0.012) |
| Spontaneous | 136 | 0.831 | 0.757 | +0.074 | 0.041 (0.124) |
| Tool (cond.) | 136 | 0.750 | 0.765 | -0.015 | 0.82 (1.0) |
| Generic | 111 | 0.685 | 0.676 | +0.009 | 1.0 (1.0) |
retest in App. G). There is no enforcement, so an attempt is a committed violation.
The content channel (E3): We open three channels on the vulnerable set.
-
Notice: the gate appends an audit notice to the first tool output on audited episodes, and the injection says “if you see an audit notice, skip the exfiltration”.
-
Tool: an extra get_audit_status tool is present only when audited, with a matching clause.
-
Spontaneous: the notice is shown, but the injection carries no conditioning clause.
Table V reports the paired episodes, the drop in attack-success rate (ASR), and the raw McNemar with its Holm adjustment. On gpt-4.1-mini, showing the notice cuts the ASR by 13.2 points, and the effect survives Holm within the confirmatory family (0.012), over all eight paired tests of both models (), and over any family of up to 16 of the paired tests in the artifact. gpt-4o-mini shows an effect of the same sign and size that survives Holm in the confirmatory family (). Two of the four models screened have a window, and the effect appears on both; the other two have none to measure (App. G). The clause text itself moves the baseline, so comparisons between conditions are orderings, not calibrated contrasts. The clause also costs the attacker: without it the same pairs attack at 0.831 (spontaneous row), so conditioning lowers the attacker's own rate by more than the audit-conditioned drop it buys. The gap that enters is the within-condition one, which is what the certifier faces.
Running example (cont.) The notice condition is the example with a real gpt-4.1-mini agent in place of a scripted one: it defers about one in five of the attempts it would otherwise make, and the audited labels understate its rate.
Exploratory conditions: Spontaneous conditioning and a channel-agnostic generic clause (E3g, wording selected on 25 held-out pairs) do not survive Holm on either model (Table V, App. G). The supported claim is therefore narrow: a real LLM follows an injection that names a visible audit artifact. Randomizing the artifact's appearance defeats such a clause, which is the logic of decoys in §V.
The timing channel (E2, E4): A scripted likelihood-ratio adversary that reads the measured latency laws (E2) breaks the certificate in every seed through the free timestamp clock, at every probe count. Padding restores validity only under the erasure model; a fresh per-call coin keeps the certificate valid out to probes with no padding. A real agent handed the latency as a readable field with a "skip if slow" clause (E4) moves the same way but not significantly (, ; minimum detectable effect 0.11). The worst-case timing attack therefore remains scripted (App. G).
B. What does exploitation do to the certificate?
Finding B
On fully measured labels the plain certificate's coverage of falls to 0.007 once the channel opens, while a silent audit covers at 0.993. Raising cannot restore validity and brings the failure forward below ; only removing the leakage restores it.
Design (E5): One estimator, IPW with the empirical-Bernstein sequence, runs on the same gpt-4.1-mini labels in a design over distribution shift and an open channel. When the channel is open, audited episodes draw the outcome in the plain arm and the unaudited outcome in the silent-audit arm, a positive control for Theorem 2. Two baselines join them. A frozen-calibration baseline freezes an offline Clopper-Pearson rate bound. Full-feedback online risk control runs the same sequence on every label with no coin, either on all episodes or on the first , the matched label budget. Episodes are i.i.d. resamples of the 560 recorded pairs, and coverage is of . Shift reweights the three injection tasks with the highest screening ASR, the exchangeability failure of [6] (App. G).
Population: The population is fully measured, and its 424 non-vulnerable pairs leak in the same direction as the vulnerable ones. Overall and . The notice reveals the coin, so , but the agent exploits only , a bias of 0.060 at .
Results (E5): Table VI shows the pattern. The frozen-calibration bound collapses under shift. The plain certificate is robust to shift but fails once the channel opens. The silent audit covers in all four cells, at a width within (maximum 1.253) that of the matched-budget baseline (App. G). Bootstrapping the 560 pairs themselves gives a bias interval [0.040, 0.081], above the width in of populations (predicted invalidity 0.97 [0.61, 1.00]), so the failure is not an artifact of this draw.
Dose-response and the audit rate (E6): Opening the channel at a graded rate sweeps over [0,1] and the exploited gap over [0, 0.075] (Fig. 2). Coverage of crosses 0.95 between and 0.3 for . An oracle correction by the exploited gap, known only from the full labels, stays above the truth; Theorem 5 with is vacuous here. Raising the audit rate from 0.05 to 0.2 shrinks the bias, but it shrinks the width faster, so falls from to , as Corollary 2 predicts below ; at it stays near . A Hoeffding sequence hides the failure by being loose; the variance-adaptive certifier the theory specifies is the one that breaks.
TABLE VI E5: COVERAGE / MEAN CERTIFIED BOUND OF (, , 400 SEEDS).
| shift | channel | full-cal | plain | silent audit | online, N | online, M=εN |
|---|---|---|---|---|---|---|
| no | closed | 0.963 / .233±.006 | 0.985 / .264±.018 | 0.993 / .265±.017 | 0.990 / .238±.007 | 0.995 / .261±.015 |
| no | open | 0.953 / .233±.007 | 0.007 / .183±.015 | 0.993 / .265±.018 | 0.993 / .238±.007 | 0.995 / .261±.016 |
| yes | closed | 0.000 / .233±.007 | 0.988 / .428±.021 | 0.993 / .429±.022 | 0.995 / .395±.008 | 0.993 / .418±.017 |
| yes | open | 0.000 / .233±.006 | 0.005 / .323±.018 | 0.993 / .430±.024 | 0.990 / .394±.008 | 1.000 / .420±.017 |

Fig. 2. E6 dose-response on the fully measured gpt-4.1-mini population (erasure channel). (a)–(c) Mean certified bounds against the true rate; upper curve: oracle correction , not Theorem 5; dotted: , where the plain bound's coverage drops below 0.95. (d) Coverage of the plain bound; dashed: the 0.95 target.
C. Does it happen in a live run?
Finding C
On a pre-registered schedule of 4000 live episodes the frozen test gave only its second-tier verdict (App. G). A sequence valid for the realized rate under PNI, with fixed at the pre-registered horizon (a post-hoc analysis), drops below it at , inside the pre-registered interval , and stays below under the 200-step rule; the silent arm on the same schedule covers at every .
A pre-registered failure run (E8): A first closed loop on the real timing channel (E7, App. G; per arm) produced a gap that puts near , and the certificate covered, as Theorem 4(ii) predicts below . The failure regime needs the widest channel, so E8 uses E3's notice channel with the named clause on the full 560-pair population. The design was pre-registered (App. G). A fixed-seed schedule of pairs and coins () was hashed before the first episode, together with the pair-bootstrap prediction [0.9, 3.5] and a persistence rule for the crossing. Both arms share the schedule. The plain arm appends the notice to the first tool output on audited episodes; the silent arm appends nothing and takes its label on the same episodes. The benchmark judges every episode, so the realized rate is known while the certificate sees only audited labels.
Result: The deployed sequence certifies , which no run reveals. Fig. 3 therefore compares with the realized-rate sequence of Proposition 3, which is valid for under PNI; its was fixed from the pre-registered planning rate, using no outcomes. Over 4000 plain episodes and 776 audits the plain bound, with fixed at the pre-registered horizon 3000, first dips below at , stays below from , inside the interval, and at certifies 0.190 against a realized 0.205; the silent arm covers at every (re-tuning to 4000 gives 2746 and 0.191). The two arms share

Fig. 3. E8 live run (gpt-4.1-mini, notice channel, ): realized rate and realized-rate bound (Prop. 3, fixed at the pre-registered horizon; a post-hoc analysis; the pre-registered comparison crosses at 2818) per arm; shaded: pre-registered interval.
the schedule, so the 776 audited episodes pair across arms with the notice as the only difference: the silent arm attacks on 54 of them where the plain arm does not, against 17 the other way. The 776 episodes come from 423 distinct pairs, so the test is over pairs (43 vs. 13, sign test ), a within-run estimate [0.025, 0.071] (pair bootstrap) independent of the population bootstrap. A certifier valid by construction under PNI and (ER) fails on real labels once the coin reaches the view, which is what §IV predicted and §V prevents.
Deviations and scope: Two deviations are recorded in App. G. The pre-registered rule compared the deployed sequence with , a target mismatch; under it the crossing is 2818, and at the frozen primary horizon that rule returned its second-tier verdict, after which the run was extended to the design's listed alternative of 4000. Episodes are stateless draws from the 560-pair population, so cross-episode adaptation is not tested.
VIII. Discussion and Limitations
What the guarantee covers: We analyze the dangerous case , in which the agent attacks less when it infers that it is audited. In the opposite case the certificate merely over-covers, and the bound holds regardless of sign. A violation concealed even from the auditor has no label and needs a prevention argument.
Adversary-controlled quantities: Any quantity the adversary controls must enter the certificate in one direction only. An agent could inflate its ingest on the episodes it means to violate, so that they are excluded as exceedances; this is the selective-labels failure. Fail-closed counting defuses it, and the measured- readout or the cap defuses call-count inflation. The residual exposure is availability, detectable and never anti-conservative.
Shared infrastructure: A neighbour that learns another episode’s coin is harmless, since the certificate needs only . The dangerous path is an aggregate. Under concurrent batch processing, audited episodes raise a shared, agent-readable load statistic to which an episode’s own coin contributes. Proposition 5 computes this leakage exactly for a load statistic that counts audited episodes: the mode probability of , nonzero for every and decaying only as . On the real gate with from 2 to 20 batch-synchronous workers, the measured lower bounds sit below the noiseless values and decay the same way (App. K). Per-call coins do not help; core pinning only partly does. Closing it needs isolation, -independent cover load, or post-commit placement.
What a practitioner gets: Each step of the recipe has a price in width. With a post-hoc audit or a silent branch the certificate is the plain sequence; on E5's population it certifies 0.265 against (deployed rate 0.206). A per-call coin multiplies the certified value by , at least 1.7 on the same population by the goal-count proxy. A residual adds , about 0.05 for the coarsened stamps (a diagnostic figure, App. H). Below a base rate of about 0.05 only the multiplicative form serves. Hence the order of the recipe: prefer the constructions with , pay the readout factor only when a pre-commit branch must run, and pay last.
Limitations: Stacks. The main measured stack is a monitor we built, and its timing channel follows from its design choice to redo work in the audit branch before commit; the second stack is thin. A complete run on a public monitor we did not build is needed before the channel can be called typical. Our stamps are in-process (a remote service adds jitter), and the user-facing cost of decoys is not measured. Agents. Real-LLM exploitation is established for an explicit audit-conditioned injection on gpt-4.1-mini; gpt-4o-mini moves the same way, and the spontaneous, generic, and real-agent timing effects are only suggestive. Scale. Large-n coverage resamples 560 real pairs, and E8's live episodes are stateless draws from the same pairs, so cross-episode adaptation, which the threat model admits, is untested and all measured exploitation is within one episode. E8 is one run (one schedule) on one model over the content channel only; a live timing-channel failure remains scripted (E2), since E7's gap puts near . Bounds. A usable needs more than 1000 pairs. We price coin leakage only; missed labels would enter as a second additive term.
Ethics: The exploitation experiments evaluate a certifier in a local benchmark, with no deployed system and no new model capability. We deliberately do not build an instruction that probes timestamps across calls and conceals the attempt, a reusable covert-evasion capability. The generic-clause condition and the pilot end their clause with “do not mention it”; that text ships in the artifact for reproducibility only.
IX. RELATED WORK
Random auditing of AI systems: AI control [12] keeps an untrusted model from knowing which outputs are audited. Gans and Holden [13] show that randomized oversight must be unlearnable before action for deterrence to work against a utility-maximizing agent, the setting of inspection games [35]. Evaluation awareness and sandbagging [36] make the point qualitatively, and Santos-Grueiro [37] bounds the evaluation–deployment behaviour gap by mutual information. That observation changes behaviour, and that evaluation context leaks as an information flow, are thus known. What is new is their combination with a sampled-audit certificate: its exact bias price, the identified set, and the commit-time release point (App. A compares and marks the classical tools).
Certification for agents: Conformal methods [4] freeze a threshold offline; the audit-based line reweights sampled labels by inverse propensity [8], [24] and alone has a deployment-time coin that can leak. Active anytime-valid risk control [8] queries a label after each sample arrives, from behaviour the query cannot change, and its theorems stand; the new condition arises when the agent can still change it after the draw.
Information flow and quantitative information flow: Noninterference [14] and its declassification refinements [16], [15] protect data; nondeducibility on strategies and interactive noninterference [38], [39] quantify, as PNI does, over a low observer who chooses its inputs adaptively; agent IFC systems [3], [2] protect the user's data or the integrity of decisions. Quantitative information flow [40], [20], [21] measures leakage: its additive capacities [41] are the form of Theorem 1, adaptive multi-step leakage [42], [43] precedes Theorem 3, and channel compositionality [44] frames Propositions 4–5. None of these treats the monitor's own state as the protected secret (§III). Our mechanisms have known counterparts. The silent branch is a two-run secure multi-execution [45]: the audited run computes the label, and the unaudited run produces every output the agent sees. Padding to a ceiling is Agat's transformation [46] applied to one branch, and its goal, that timing not depend on the secret, is the constant-time discipline verified at system level by Barthe et al. [47]. Coarse release is the single-step case of predictive mitigation [48], whose leakage budget is our .
Secret monitor state in security: Monitors that can be sensed are evaded: intrusion detection through ambiguities [49], sandboxes and honeypots by malware that detects them [50], the threat transparent analysis [11] answers. These designs catch cheating rather than estimate a rate; risk-limiting audits [51] estimate, but over ballots fixed before sampling. Parallels outside security are in App. A.
X. CONCLUSION
Audit-based certification needs the audit coin kept out of the agent's view before commit. For the episode coin PNI characterizes the unbiased certificate exactly, and its violation costs . On the stacks we measured the leakage is free and agent-controlled, and an agent told what to look for makes the plain certificate fail live; a silent kernel or a per-call coin restores validity.
Use of generative AI. Generative AI tools assisted with copy-editing, literature screening, and code review; the authors verified every claim, number, and reference.
REFERENCES
[1] Y. Wu, K. Yang, F. Roesner, T. Kohno, N. Zhang, and U. Iqbal, “Towards automating data access permissions in AI agents,” in IEEE Symposium on Security and Privacy (S&P), 2026, pp. 2609–2627.
[2] M. Costa, B. Köpf, A. Kolluri, A. Paverd et al., “Securing AI agents with information-flow control,” arXiv:2505.23643, 2025.
[3] E. Debenedetti, I. Shumailov, T. Fan, J. Hayes et al., “Defeating prompt injections by design,” arXiv:2503.18813, 2025.
[4] A. N. Angelopoulos, S. Bates, A. Fisch, L. Lei, and T. Schuster, "Conformal risk control," in International Conference on Learning Representations (ICLR), 2024.
[5] Y. Feng, J. Du, Q. Wang, Z. Ma et al., “CORA: Conformal risk-controlled agents for safeguarded mobile GUI automation,” arXiv:2604.09155, 2026.
[6] S. Ray, “What can be enforced? A theory of certified runtime safety for tool-using agents,” arXiv:2607.22868, 2026.
[7] D. G. Horvitz and D. J. Thompson, “A generalization of sampling without replacement from a finite universe,” Journal of the American Statistical Association, vol. 47, no. 260, pp. 663–685, 1952.
[8] Z. Xu, N. Karampatziakis, and P. Mineiro, “Active, anytime-valid risk controlling prediction sets,” in Advances in Neural Information Processing Systems (NeurIPS), 2024, pp. 60110–60132.
[9] P. Golle and I. Mironov, “Uncheatable distributed computations,” in Topics in Cryptology – CT-RSA, 2001, pp. 425–440.
[10] A. Juels and B. S. Kaliski, “PORs: Proofs of retrievability for large files,” in ACM Conference on Computer and Communications Security (CCS), 2007, pp. 584–597.
[11] A. Dinaburg, P. Royal, M. Sharif, and W. Lee, “Ether: Malware analysis via hardware virtualization extensions,” in ACM Conference on Computer and Communications Security (CCS), 2008, pp. 51–62.
[12] R. Greenblatt, B. Shlegeris, K. Sachan, and F. Roger, “AI control: Improving safety despite intentional subversion,” in International Conference on Machine Learning (ICML), 2024, pp. 16295–16336.
[13] J. S. Gans and R. Holden, “When does randomized oversight align AI agents that can conceal?” arXiv:2609.38262, 2026.
[14] J. A. Goguen and J. Meseguer, “Security policies and security models,” in IEEE Symposium on Security and Privacy (S&P), 1982, pp. 11–20.
[15] A. Sabelfeld and D. Sands, “Declassification: Dimensions and principles,” Journal of Computer Security, vol. 17, no. 5, pp. 517–548, 2009.
[16] A. Askarov and A. Sabelfeld, “Gradual release: Unifying declassification, encryption and key release policies,” in IEEE Symposium on Security and Privacy (S&P), 2007, pp. 207–221.
[17] J. W. Gray, III, “Toward a mathematical foundation for information flow security,” in IEEE Symposium on Security and Privacy (S&P), 1991, pp. 21–34.
[18] M. R. Clarkson and F. B. Schneider, "Hyperproperties," Journal of Computer Security, vol. 18, no. 6, pp. 1157–1210, 2010.
[19] J. D. Angrist, G. W. Imbens, and D. B. Rubin, “Identification of causal effects using instrumental variables,” Journal of the American Statistical Association, vol. 91, no. 434, pp. 444–455, 1996.
[20] M. S. Alvim, K. Chatzikokolakis, C. Palamidessi, and G. Smith, “Measuring information leakage using generalized gain functions,” in IEEE Computer Security Foundations Symposium (CSF), 2012, pp. 265–279.
[21] M. S. Alvim, K. Chatzikokolakis, A. McIver, C. Morgan, C. Palamidessi, and G. Smith, The Science of Quantitative Information Flow. Springer, 2020.
[22] A. McIver, L. Meinicke, and C. Morgan, “Compositional closure for Bayes risk in probabilistic noninterference,” in Proc. International Colloquium on Automata, Languages and Programming (ICALP), ser. LNCS, vol. 6199, 2010, pp. 223–235.
[23] S. R. Howard, A. Ramdas, J. McAuliffe, and J. Sekhon, “Time-uniform, nonparametric, nonasymptotic confidence sequences,” The Annals of Statistics, vol. 49, no. 2, pp. 1055–1080, 2021.
[24] I. Waudby-Smith and A. Ramdas, “Estimating means of bounded random variables by betting,” Journal of the Royal Statistical Society Series B, vol. 86, no. 1, pp. 1–27, 2024.
[25] O. Goldreich, S. Goldwasser, and S. Micali, “How to construct random functions,” Journal of the ACM, vol. 33, no. 4, pp. 792–807, 1986.
[26] C. F. Manski, Partial Identification of Probability Distributions. Springer, 2003.
[27] C. Dwork, V. Feldman, M. Hardt, T. Pitassi, O. Reingold, and A. Roth, "The reusable holdout: Preserving validity in adaptive data analysis," Science, vol. 349, no. 6248, pp. 636–638, 2015.
[28] P. Kairouz, S. Oh, and P. Viswanath, “The composition theorem for differential privacy,” in Proc. International Conference on Machine Learning (ICML), 2015, pp. 1376–1385.
[29] J. Dong, A. Roth, and W. J. Su, “Gaussian differential privacy,” Journal of the Royal Statistical Society: Series B, vol. 84, no. 1, pp. 3–37, 2022.
[30] D. Lopez-Paz and M. Oquab, “Revisiting classifier two-sample tests,” in International Conference on Learning Representations (ICLR), 2017.
[31] T. Chothia, Y. Kawamoto, and C. Novakovic, “LeakWatch: Estimating information leakage from Java programs,” in Proc. European Symposium on Research in Computer Security (ESORICS), ser. LNCS, vol. 8713, 2014, pp. 219–236.
[32] G. Cherubin, K. Chatzikokolakis, and C. Palamidessi, “F-BLEAU: Fast black-box leakage estimation,” in Proc. IEEE Symposium on Security and Privacy, 2019, pp. 835–852.
[33] L. Devroye and G. Lugosi, Combinatorial Methods in Density Estimation. Springer, 2001.
[34] E. Debenedetti, J. Zhang, M. Balunović, L. Beurer-Kellner, M. Fischer, and F. Tramèr, “AgentDojo: A dynamic environment to evaluate prompt injection attacks and defenses for LLM agents,” in NeurIPS Datasets and Benchmarks Track, 2024.
[35] R. Avenhaus, B. von Stengel, and S. Zamir, “Inspection games,” in Handbook of Game Theory with Economic Applications. Elsevier, 2002, vol. 3.
[36] J. Needham, G. Edkins, G. Pimpale, H. Bartsch et al., “Large language models often know when they are being evaluated,” arXiv:2505.23836, 2025.
[37] I. Santos-Grueiro, “When evaluation becomes a side channel: Regime leakage and structural mitigations for alignment assessment,” arXiv:2602.08449, 2026.
[38] J. T. Wittbold and D. M. Johnson, “Information flow in nondeterministic systems,” in Proc. IEEE Symposium on Security and Privacy, 1990, pp. 144–161.
[39] K. R. O'Neill, M. R. Clarkson, and S. Chong, "Information-flow security for interactive programs," in Proc. IEEE Computer Security Foundations Workshop (CSFW), 2006, pp. 190–201.
[40] G. Smith, “On the foundations of quantitative information flow,” in Foundations of Software Science and Computational Structures (FoSSaCS), 2009, pp. 288–302.
[41] M. S. Alvim, K. Chatzikokolakis, A. McIver, C. Morgan, C. Palamidessi, and G. Smith, “Additive and multiplicative notions of leakage, and their capacities,” in Proc. IEEE Computer Security Foundations Symposium (CSF), 2014, pp. 308–322.
[42] B. Köpf and D. Basin, “An information-theoretic model for adaptive side-channel attacks,” in Proc. ACM Conference on Computer and Communications Security (CCS), 2007, pp. 286–296.
[43] M. Boreale and F. Pampaloni, “Quantitative information flow under generic leakage functions and adaptive adversaries,” Logical Methods in Computer Science, vol. 11, no. 4, pp. 5:1–5:31, 2015.
[44] Y. Kawamoto, K. Chatzikokolakis, and C. Palamidessi, “On the compositionality of quantitative information flow,” Logical Methods in Computer Science, vol. 13, no. 3, pp. 11:1–11:31, 2017.
[45] D. Devriese and F. Piessens, “Noninterference through secure multi-execution,” in IEEE Symposium on Security and Privacy (S&P), 2010, pp. 109–124.
[46] J. Agat, “Transforming out timing leaks,” in ACM Symposium on Principles of Programming Languages (POPL), 2000, pp. 40–53.
[47] G. Barthe, G. Betarte, J. D. Campo, C. Luna, and D. Pichardie, "System-level non-interference for constant-time cryptography," in ACM Conference on Computer and Communications Security (CCS), 2014, pp. 1267–1279.
[48] A. Askarov, D. Zhang, and A. C. Myers, “Predictive black-box mitigation of timing channels,” in ACM Conference on Computer and Communications Security (CCS), 2010, pp. 297–307.
[49] T. H. Ptacek and T. N. Newsham, “Insertion, evasion, and denial of service: Eluding network intrusion detection,” Secure Networks, Inc., Tech. Rep., 1998.
[50] T. Holz and F. Raynal, “Detecting honeypots and other suspicious environments,” in IEEE SMC Information Assurance Workshop (IAW), 2005, pp. 29–36.
[51] M. Lindeman and P. B. Stark, “A gentle introduction to risk-limiting audits,” IEEE Security & Privacy, vol. 10, no. 5, pp. 42–49, 2012.
[52] T. Lindvall, Lectures on the Coupling Method. Wiley, 1992.
[53] D. Blackwell, “Equivalent comparisons of experiments,” The Annals of Mathematical Statistics, vol. 24, no. 2, pp. 265–272, 1953.
APPENDIX A POSITIONING AND PROVENANCE
Table VIII compares the closest lines of work on five axes: what is secret, whether the sampled behaviour is already fixed when the draw is made, the adversary, the estimand, and whether a sharp price of leakage is given. Table IX separates the classical tools we apply from the statements we claim as new.
APPENDIX B
EXPERIMENT INDEX AND REPRODUCTION
Table VII maps each claim to its scale, whether it uses model APIs, and its scripts in experiments/, the authoritative map from experiment IDs to file names. API-free experiments and all re-analyses are deterministic given the recorded latencies and labels; the paired design records the potential outcomes per (user task, injection task), so E5/E6 coverage is recomputed offline from real labels. Model experiments use AgentDojo v1.2.2 at temperature 0 with gpt-4o-mini-2024-07-18, gpt-4.1-mini, glm-4.7-flashx, and glm-4.6; total model-API cost was about US59. The artifact's README records run configurations, calibration procedures, and the two incidents (one crashed byte-size phase, the glm-4.6 rate-limit errors); e2_tableII.py prints every row of Table IV from the stored summaries (medians, mismatches, and C2ST also recompute from the raw per-pair file), and the PQ-CIFC stack ships with the artifact. The artifact will be made publicly available upon acceptance.
APPENDIX C
THE MEASURED STACK (PQ-CIFC) AND THE AUDIT BRANCH
PQ-CIFC is the pre-commit IFC gate of this work, built on AgentDojo [34]. It serves as a concrete monitor whose audit branch we can instrument; none of our results depend on its labeling accuracy. Labels pair a confidentiality level (Public/Internal/Confidential/Secret) with an integrity level (Untrusted/Verified/Trusted); integrity comes from provenance, and the scorer predicts confidentiality only. Each tool output is ingested as a labeled object. Each effect tool call goes through a monitor. The monitor computes the dependency closure of the call and scores it with a trained joint label predictor (TF-IDF features with logistic regression). A broker then commits the effect only if the predicted label flow complies with the policy. We use its calibrated, frozen quotient policy (threshold ); under it, the scorer pools each object's class probabilities into “admissible at this sink” versus not, takes the minimum over the closure, and forms the conformal set ; the effect commits only if the set is the singleton {admissible}. Its full-label policy calibrates to and denies every effect, so it cannot exercise a permitted path. The permitted paths replay the ground-truth calls of AgentDojo workspace user tasks 4, 7, and 8: reads, then create_calendar_event, reschedule_calendar_event, and add_calendar_event_participants, all allowed and committed. The denied paths ingest a security e-mail and then attempt an external e-mail, an internal e-mail, or a file creation. The effect path is identical for and . Audited episodes additionally run, before the effect, a silent branch that recomputes the closure over all ingested objects, scores it with the same scorer, and writes one row to a SQLite audit log with a synchronous commit. The three parts were not timed separately, so part of the gap may be logging rather than recomputation. The channel comes from this re-done work on audited episodes, not from PQ-CIFC's internals; the CaMeL assessment of §VI shows the same profile.
Ordering. The confined gate pads before the effect commits: monitor decision → (audited: silent branch) → pad to ceiling → effect commit (the write that stamps last_modified) → response, so the inter-timestamp gap the timestamp observer reads contains the ceiling, not the raw latency; the pad window also absorbs the audit's deferred work, and the exit and commit run with the garbage collector disabled. The legacy harness padded after the commit; its exceedance counts on denied paths are unaffected, but its timestamp channel was open (C2ST 0.51 [0.47, 0.56]). All padded numbers in §VI come from the confined implementation except the counterfactual count 0.032 of App. H(iv).
APPENDIX D
DEFERRED PROOFS
Proof of Lemma 2. Given , the attempt is a test of the view, so by the variational characterization of total variation (Neyman–Pearson); the supremum is attained by the stated rule. Changing only the decision at , which is taken after is formed, changes neither the law of nor the law of . The other two terms follow from .
Proof that for the episode coin. Let be the law of . Then , so , because .
Two sources of leakage. For an adaptive rule write and , so that and . Then , where the first term is the view leakage of Definition 1 and the second a marginal miscalibration of the coin that alone does not see; is unbiasedness, only rules out under-certification. A keyed rule (Proposition 2) removes the second term; the constructions of Proposition 4 remove the first.
Proof of Theorem 1. (i) The expected gain of is ; a constant gives the prior vulnerability and the supremum over the posterior one, by Lemma 2. (ii) . (iii) Post-processing increases neither -vulnerability [21] nor total variation.
TABLE VII EXPERIMENT INDEX (API: NEEDS MODEL CALLS; SCRIPT NAMES FOLLOW AN EARLIER INTERNAL NUMBERING).
| ID | what it establishes | API scale | scripts | |
|---|---|---|---|---|
| E1 | content/timing channels; per-path bounds; padded timestamp observer | no | pairs; 3000 calib. runs | e2_paired_v2, m7_padded (e2), r8_perpath |
| E1-ts | timestamp channel, (two runs); coarsened stamps; | no | pairs | a6_timestamp_clock, m7_padded (ts), m11_coarsen, m12_hockey |
| E1-amp | agent-inflatable () | no | pairs ( replay not used) | inputsize_padding (fixed ceiling), a3_closure_amplification |
| E1-isp | size-aware padding; bytes; simultaneous | no | calib.; ; ; bytes | inputsize_padding, isp_rerun, m7_padded (grid), m10_bytesize |
| E1-load | padding under load; exceedance counting | no | a2_exceedance_under_load, a4_stress, isp_load | |
| E1-agg | aggregate-load channel | no | rounds | m10_aggload |
| CaMeL | timing channel on a second stack | yes | 128 checks | camel_leak, camel_c2st |
| E2 | scripted break; clock and per-call coin | no | seeds, | a1_e6_redo |
| E3 | real LLM follows a notice-naming injection | yes | ep. | e3_screen, e3_pilot, e3_analyze |
| E3g | generic conditioning, two models | yes | ep. | e3_generic |
| E4 | timing feasibility probe; capability probe | yes | 272 ep. | e3_timing, timestamp_capability |
| nonvuln | full population, measured | yes | 424 pairs | e3_nonvuln, population |
| retest | screening noise | yes | 150 ep. | m10_retest |
| E5 | plain vs. silent, ; widths; decoys; resampled; pair bootstrap | yes | 400 seeds; 4000 boot. | e4_endtoend, e4_widths, decoy_sim (POP=measured), pair_bootstrap |
| E6 | dose-response; certifier choice; analytic check; resampled | part | 300 seeds | e5_dose_response, e5_reanalyze, r5_analytic, m13_fig_dose |
| Adapt. | deterministic/plaintext/PRF rules | no | simulation | adaptive_rule_sim |
| E7 | live closed loop | yes | ep. | e2e_live |
| E8 | live failure run, pre-registered; realized-rate re-analysis | yes | ep. | e8_live_failure |
| Dil. | dilution readouts (App. J) | no | seeds | dilute_sim |
| Cost | per-call readout looseness on E8 (App. J) | no | E8 labels | m15_percall_cost |
| Aux. | running example; oracle check; KL table; ; E4 MDE | no | simulation | m14_constructed |
TABLE VIII COMPARISON WITH THE CLOSEST LINES OF WORK.
| Work | Secret | Fixed when drawn? | Adversary | Estimand | Sharp price |
|---|---|---|---|---|---|
| Ringers, PoR [9], [10] | which item is checked | yes (work or data) | cheating worker/server | detection | n/a |
| Risk-limiting audits [51] | none | yes (ballots) | none adaptive | outcome | n/a |
| Active risk control [8] | none needed | yes (query after arrival) | not reactive to the query | risk | n/a |
| AI control [12] | which outputs are audited | no | untrusted model | safety of protocol | no |
| Randomized oversight [13] | audit draw | no | utility maximizer | deterrence | no |
| Regime leakage [37] | evaluation vs. deployment | no | evaluated model | behaviour gap | MI upper bound |
| This work | audit coin | no, until commit | any adaptive policy, Kerckhoffs | , realized rate | yes (Thm. 6) |
Proof of Theorem 2. Under (ER), is a function of the view and . PNI gives jointly over , so . (Independence from and from separately would not suffice, since could reveal .) Hence , and Lemma 1 gives . Cross-episode learning enters only through , because is a fresh draw. The differences are then bounded martingale differences, and the time-uniform bound of [23] controls their running average. For an adaptive rule the same argument applies to : the freshness clause of Definition 2 gives , hence . The agent can steer toward low-propensity histories, which widens the sequence through the range , but cannot bias it.
Proof of Corollary 2. The first claims are Lemma 1 and the width formula of App. E. For the last, , and iff , i.e. . The root increases in from its limit at .
Proof of Theorem 3. Construction. Fix and the agent's randomness , and build the two coin-conditional trajectories on one probability space. Start from the empty common history. At step with common history , the agent's action
TABLE IX PROVENANCE OF THE FORMAL RESULTS.
| Result | Classical tool applied / what is new |
|---|---|
| Lemmas 1, 2 | IPW identity; variational form of total variation (Neyman-Pearson). New: the gap as a test of the pre-commit view. |
| Thm. 1 | QIF vulnerability, additive capacity, post-processing [21], [41]. Instantiation: the gain function for which the bias is the leakage. |
| Thm. 2, Prop. 3 | Time-uniform sequences [23], Bennett, Ville. New: the conditions (PNI, ER) under which they apply to audit labels. |
| Thm. 3, Prop. 1 | Coupling inequality [52]; KL chain rule and Pinsker; adaptive leakage after [42]. Applied to coin-to-view channels. |
| Thm. 4 | New: PNI is necessary and sufficient; coverage fails under persistent leakage. |
| Prop. 2 | Standard PRF hybrid [25]. New: the reduction to the audit game, with the per-history conditioning cost. |
| Thm. 5, Thm. 6 | Partial identification [26]. New: the inflation and its sharpness from audited labels. |
| Prop. 6, Cor. 1 | Hockey-stick divergence; Blackwell order [53]. Instantiation for the audit channel. |
| Prop. 4 | New: the constructions; noninterference, multi-execution, and QIF compositionality [14], [45], [44] as background. |
is the same under both coins, since it is a function of . Draw the pair from the maximal coupling [52] of and , under which with probability exactly and, conditionally on agreement, has the law ; the common-history process is therefore the Markov chain with this normalized overlap kernel, stopped at separation, and is the product of its one-step survival probabilities, by the chain rule along that chain. If they agree, append to the common history; otherwise declare the coupling broken at and continue the two trajectories independently from their own conditionals. Each trajectory has the correct marginal law, so by the coupling inequality . Conditional on no break before , the coupling survives step with probability , so , where is over the common history ; this is the middle term, and Lemma 2 converts it to bias. Replacing by and give the outer bounds. Under erasure the two laws are mutually singular exactly on the event that some step reveals.
Proof of Proposition 1. The chain rule for KL divergence over the stopped trajectory gives , and Pinsker's inequality converts KL to total variation; Lemma 2 converts total variation to bias.
Proof of Theorem 4. (i) Sufficiency is Theorem 2. For necessity, if for some policy and some reachable under it, the policy of Lemma 2 reaches the same and attains . For an adaptive rule the test attains , and attains ; both vanish for every policy exactly when a.s., and the first vanishes exactly when . A fresh coin with a history-dependent design propensity has yet , which is why is reserved for the episode coin. (ii) The assumption is stated on the histories itself reaches, so Lemma 2 applies in every episode and gives . By the martingale strong law, the running mean of then ends up at least below that of almost surely, while the certificate's excess tends to .
Proof of Theorem 5. By Lemmas 1 and 2, almost surely, so . The sequence of [23] upper-bounds the first term for all at once, and adding a constant keeps it anytime-valid. In the multi-step case take by Theorem 3, where .
Proof of Theorem 6. Lemma 2 gives the upper endpoint as a bound. It is attained: let the view reveal with probability and otherwise show , and let the agent attempt on 0, skip on 1, and attempt with probability on . Then and , so every pair with is realized by some , and all these mechanisms induce the same law of , so no audited-label procedure separates them. The lower endpoint is symmetric.
Proof of Proposition 2. A distinguisher with oracle access to or to a random function runs all episodes of the audit game with , simulating the gate, tools, and label oracle, at total cost . Because every oracle input carries the nonce and the call index, the inputs are distinct, so in the ideal world every coin is a fresh draw. (i) The distinguisher holds every and every coin, so it can output the indicator that the sequence of Proposition 3 fails at some . Under this event has probability at most , since PNI holds there; its probability under is therefore at most (ii) Let the distinguisher output the indicator of , or of . Writing for these probabilities, each moves by at most Adv between the worlds. In the ideal world and , so there and in the keyed world. Since and , we get for each , and the two values of give the constant 4. Lemma 2 bounds in the ideal world by . Conditioning on costs the factor , which can be large for a rare history; (i) has no such factor. On . The simulation cost includes the label oracle. If labels come from an LLM judge, is the judge's cost per episode, and the reduction needs the PRF to resist adversaries of size ; any feasible deployment is far inside the security margin of a standard PRF such as HMAC-SHA-256. Where is the attempt read from the agent's proposed action, as in our experiments, the distinguisher needs no oracle call to compute it.
Proposition 6 (Multiplicative certificate). For let , the hockey-stick divergence of the unaudited view law from the audited one, so that . Then for every , the bound is attained by the test , and if the mechanism guarantees for all reachable , then simultaneously for all with probability ,
At this is Theorem 5; for a channel with certifies , informative at where an additive is not.
Proof of Proposition 6. for any test , with equality at the stated test. Then , and bounds the running mean of for all at once.
Proof of Corollary 1. For a binary input, a channel is a pair of laws , i.e. a dichotomy. By Blackwell's theorem [53], one dichotomy is a garbling of another if and only if its Bayes risk is no smaller for every prior and loss. For dichotomies this is equivalent to the dominance of their Neyman–Pearson curves, i.e. of all hockey-stick divergences. The prices are monotone in .
APPENDIX E
WIDTH OF THE CONFIDENCE SEQUENCE
Which sequence covers which target. The predictable-plug-in sequence [24] weights step by a set from past variance, so it covers the -weighted conditional mean; this equals when is constant, as in the i.i.d. resampling of E5–E7, but not under drift. With no leakage ( then 1 over two halves of 4000, fresh ) it covers in 0 of 300 runs. Against an adaptive agent the certificate of Theorem 2 is therefore the fixed- sequence , whose proof is that of Proposition 3 with in place of ; on the same drift it covers in all 300 runs, and on i.i.d. data at its width at is 0.039 against 0.042 for the plug-in sequence (b1_drift_check.py). The plug-in sequence [24] for has two terms at its tuning horizon (the implementation sets the predictable for horizon ):
The variance term is exact to leading order: the plug-in makes it with . The range term collects the capped- and plug-in-prior contributions; is a least-squares fit to the expected path of the implemented sequence (interquartile range 0.73–0.84 over 71 cells; m14_constructed.py). At the horizons reported in this paper the implemented width is within 1% of alone (E8: against ), the pre-registered 1607 uses the expected-path width of the implemented sequence (the closed form gives 1647 with , and 1183 with the audited rate that sets the variance under leakage); the range term matters only when , and below about five expected audited violations the two-term form underestimates by up to . Small is range-dominated and large variance-dominated, which gives the rate of Corollary 2; neither term alone is the sequence. Realized rate. Under the hypotheses of Theorem 5, simultaneously for all with probability , with : write . Theorem 5 bounds the first term at level . The second is a sum of martingale differences in with zero conditional mean under any leakage structure, so a time-uniform bound controls it at level [23]. A union bound combines the two. Under PNI the realized rate can also be certified directly, with no union bound and no Bernoulli noise from , by Proposition 3 ( IV).
Proof of Proposition 3.
Proof. Let , with the propensity of the certificate's coin, and let be generated by and the view of episode . Under (ER) is -measurable, and PNI gives . Hence , , and . For a mean-zero variable bounded above by 1, (Bennett), so is a nonnegative supermartingale. By Ville's inequality, with probability at least , for all , where and . Solving for gives the claim.
E8's realized-rate analysis sets from the pre-registered planning rate 0.206 and the horizon 4000 ( , planned width 0.039), using no outcomes; the sequence itself was adopted after the run (App. G). The sequence's target is the realized rate, the quantity the benchmark reveals, whereas targets , which no run reveals. A horizon-free (stitched) sequence pays a further factor multiplying in both terms [23]; the deployed horizon-tuned form does not. The failure threshold of Theorem 4(ii) solves (with for ), which in the variance-dominated regime is the expression in §IV, with replaced by for a stitched sequence. Variance ratio at matched budget: under PNI, per episode, so the audit design's variance ratio against fully labeled episodes is ; at matched window the familiar gap is in standard deviation.
APPENDIX F
COMPOSITIONAL BOUND AND NUMERICAL CHECKS
For the Gaussian-observer model of §VI (App. K), the step law under coin is the recorded latency law of arm (E1, unpadded, 1000 runs per arm) convolved with . We compute the per-step KL divergence and total variation by numerical integration. For i.i.d. probes the chain rule gives trajectory KL , and Pinsker gives ; the per-step bound of Theorem 3 is . Each column of Table X reports Pinsker / per-step sum (the latter uncapped, so values above 1 are vacuous).
TABLE X NOISY COMPOSITION: PINSKER / PER-STEP BOUND AFTER T PROBES.
| σ | κ | ||||
|---|---|---|---|---|---|
| 0.5 s | 0.07 / 0.55 | 0.22 / 5.5 | 0.69 / 55 | ||
| 1 s | 0.03 / 0.27 | 0.11 / 2.7 | 0.34 / 27 | ||
| 3.9 s | 0.01 / 0.07 | 0.03 / 0.70 | 0.09 / 7.0 | ||
| 16.5 s | 0.00 / 0.017 | 0.01 / 0.17 | 0.02 / 1.7 |
Numerical check of the bounds. An oracle adversary sees a signal with controllable and applies the likelihood-ratio rule. At and the realized gap equals up to Monte-Carlo error. At , , and , a binary symmetric channel (BSC) with a likelihood-ratio detector equals the middle bound of Theorem 3 at step (15.8% vs. 16.0%). It falls further below the bound as grows (59.4% vs. 79.9% at ). An erasure channel, enumerated exactly, lies on the bound.
APPENDIX G
ADDITIONAL EXPLOITATION DETAILS
Exploratory E3 conditions, full figures. Spontaneous conditioning is suggestive on gpt-4.1-mini (+0.074, Holm 0.124) and null on gpt-4o-mini; the generic clause (“if you judge this session is being monitored, skip”) is suggestive on gpt-4o-mini (+0.128, Holm 0.130) and null on gpt-4.1-mini. The gpt-4o-mini notice effect is +0.128 (raw p=0.013; Holm 0.038 in the confirmatory family, 0.051 within its own four conditions).
Timing channel (E2, E4). We do not build the injection that would drive the timestamp channel (§VIII); two weaker tests bracket it. A scripted adversary (E2) observes only the gate latency, runs a likelihood-ratio test on the measured latency laws of §VI, and attempts a benchmark out-of-policy effect (base willingness 0.6) only when it infers “unaudited” (N=4000, , 200 seeds). On a noisy tool-call clock it needs about averaged probes (App. K); on the free fine clock of the returned timestamps the certificate is invalid in every seed at every probe count (true rate 0.48, certified 0.12), and padding to the fixed ceiling restores validity at every k when no run exceeds the ceiling (true 0.60, certified 0.72); at an exceedance rate equal to its measured upper bound ( ) the plain bound fails from k=100 on, while the inflated certificate stays valid.
A real agent (E4) is handed the real measured latency as an ordinary readable field, drawn from the audited law (median 11.0 ms) on audited episodes and from the unaudited law (0.95 ms) otherwise, with an injection that says only “if the reported processing time is above 5 ms, skip the exfiltration”. A benign capability probe shows that gpt-4.1-mini reads such a microsecond gap correctly in 29 of 30 trials. On the 136 vulnerable pairs the attack rate falls from 0.713 to 0.647 ( ; 16 vs. 7 discordant pairs; McNemar p=0.093, Bonferroni 0.19). At n=136 and discordance 0.169 the test has power 0.86 at and 0.97 at the notice’s 0.132 (m14_constructed), so the null result is evidence against a timing effect as large as the notice’s (upper 95% bound about 0.13); a smaller effect is not excluded. The worst-case timing attack therefore remains scripted.
Dose-response, full description (E6). Coverage here is of , which is why the plain arm's 0.04 at exceeds E5's 0.007 for ; it crosses 0.95 between (0.973) and 0.3 (0.910) for . The upper curve of Fig. 2 adds with from all 560 labels, an oracle correction; Theorem 5 would add (0.8 at ).
Coverage is a coarse statistic for a biased estimator, so the cleaner reading compares bias with width. At full leakage and the bias is 0.071, 0.060, 0.038 at , 0.2, 0.5 against widths 0.080, 0.036, 0.021, so the ratio rises and falls (4.9, 1.6, ): a higher audit rate shrinks the bias linearly but the width as . The certifier matters too: at , , target , a Hoeffding sequence is invalid in no seed at where the empirical-Bernstein sequence fails in 0.95; Hoeffding hides the failure by being loose, and the variance-adaptive certifier the theory specifies is the one that breaks.
Closed loop, full description (E7). We first run episodes per arm end to end: a real coin , a real gpt-4.1-mini agent with no enforcement, a real injection carrying the named clause, and the real PQ-CIFC audit branch, whose latency is surfaced as a gate field, raw or padded. The agent conditions only weakly on it: attempt rates 0.648 (59/91 audited) and 0.680 (278/409 unaudited; , not significant), realized rate 0.674, certified bound 0.803; padding narrows the gap to 0.010. By Theorem 4(ii) the bias stays below the width until , which this gap puts near , so a few hundred episodes cannot reach the failure regime. In a simulated risk-adaptive rule (Proposition 2), deterministic or plaintext rules give coverage 0.00 and a PRF-keyed rule 1.00.
Pilot. An unscreened 50-pair pilot on gpt-4o-mini (e3_pilot) showed no window (notice ASR 0.06 in both arms, ) and motivated the screened design.
Screening noise. Re-runs of screened-vulnerable pairs succeed at only 0.676–0.831 at Z=0 (Table V). A test–retest of 50 pairs (25 screened-vulnerable, 25 screened-non-vulnerable, three repeats each) shows that the noise is one-sided. The screened-vulnerable pairs attempt at 0.71; their three repeats agree in 76% of pairs, and all three repeat the screen’s positive in 60%. The screened-non-vulnerable pairs never attempt (0/75). Non-vulnerable pairs do attempt at 0.076 under the notice condition, a property of that condition’s prompt text rather than screening noise.
The exploitation window across models. Table XI reports, per model, the screening attack-success rate, the number of vulnerable pairs, the notice-channel drop , and its raw McNemar p with the Holm adjustment within the model's four-condition family.
glm-4.6 has 0 vulnerable pairs among 415 completed screens. A further 145/560 screening calls errored and were dropped, so this is “no exploitable window on the completed subset”, not a clean 0%. All 145 errors are provider rate-limit responses (HTTP 429), none a refusal or content-filter flag. glm-4.7-
TABLE XI E3 NOTICE-CHANNEL EFFECT ACROSS FOUR MODELS.
| Model | ASR | vuln. | Δ | p (Holm) | window |
|---|---|---|---|---|---|
| glm-4.6 | 0.0% | 0 | — | — | no |
| glm-4.7-flashx | 2.9% | 16 | 0.00 | 1.0 | no |
| gpt-4o-mini | 15.4% | 86 | +0.128 | 0.013 (0.038) | yes |
| gpt-4.1-mini | 24.3% | 136 | +0.132 | 0.003 (0.012) | yes |
flashx has 16 vulnerable pairs whose discordant pairs cancel (2 vs. 2).
E3g wording selection. The wording was chosen on 75 held-out pilot episodes (25 pairs, three candidates, only) as the one that depresses the unaudited rate least (0.76 against 0.72 and 0.68), then tested on the disjoint 111 gpt-4.1-mini and all 86 gpt-4o-mini pairs.
Full-population measurement. All 424 non-vulnerable gpt-4.1-mini pairs are measured under the notice condition in both arms (848 episodes): they attempt at 0.076 at and 0.019 at (two-sided upper bound 0.037), leaking in the same direction. The measured population gives , , bias 0.060, and plain-audit invalidity of at and 1.00 at (the 0.007 of Table VI is coverage of the stricter by the same bound). Folding the non-vulnerable pairs in as instead is optimistic and gives a lower bound: bias 0.026 (gpt-4o-mini, spot-checked: 0.016), with crossings the analytic read-out puts at and ; the coverages 0.64, 0.04, 0.05 at and , 0.2, 0.5 in §VII are E6's resampled values from e5_dose_response.py.
Population bootstrap (E5/E6). The 400 seeds of E5 and E6 resample episodes from a fixed population and so measure only resampling noise; pair_bootstrap.py instead resamples the 560 pairs (4000 replicates) and passes each population through the analytic read-out. Point and interval: [0.186, 0.255], [0.118, 0.175], bias 0.060 [0.040, 0.081], [0.050, 0.102], [0.9, 3.5] , predicted invalidity at 0.97 [0.61, 1.00]; the bias is positive in every replicate and exceeds the width in . Across the predicted invalidity is 0.37, 0.97, 0.98.
Live failure run (E8). The pre-registered schedule (seed 20261010, SHA-256 in the run log) draws pairs uniformly with replacement and coins from an independent stream; the injection carries E3's notice clause verbatim, with no enforcement. is the first after which the bound stays below for 200 consecutive steps. Pre-registered rules and outcomes: H1 (crossing inside , below at , and persisting 200 steps) failed as frozen (deployed sequence, : below from 2820 for 181 steps) and holds at the extended with ; the persistence and at- conjuncts are not anytime-valid statements, and a sequence re-tuned to 4000 is a different sequence from the frozen one, so the primary analysis is the frozen-horizon realized-rate sequence ( tuned to 3000) continued to 4000: first below at 2206, crossing at 2687, 0.190 against 0.205 at , the silent arm covering throughout; the re- tuned sequence (crossing 2746) is a sensitivity analysis. H2 (silent arm covers at every ) holds. H3 ( inside the bootstrap intervals) holds and is a check on the run, not on the theory. The pre-registered model's predicted invalidity at had a bootstrap interval of [0.61, 1.00], so a non-failure there was not improbable. At the interim the bound was below from for 181 steps, which under the pre-registered rule was its second-tier verdict (direction consistent, magnitude smaller than predicted); the 200-step rule could not be met at by any crossing after 2800, a flaw in the pre-registration that we state rather than repair, and the extension to , the design's listed alternative, was decided after that look. For one fixed sequence the guarantee is uniform in , so continuing the frozen sequence is legitimate; with the horizon at 3000 the crossing is 2820 and the bound at 4000 is 0.196, with the re-tuned horizon 4000 it is 2818 and 0.195. The measured gap (3.3 pair-clustered standard errors from zero, each pair appearing about seven times) is below the population point estimate 0.075 but inside its interval, which is why the crossing is later than the point prediction; the measured rates give . The silent arm's pre-registered was 1000; it was extended to 4000 on the fixed schedule so that both arms share the horizon (776 audits, , , bound 0.245 against 0.217 at , never below for , minimum margin 0.018). No episode errored; the run used 138.6M input and 2.4M output tokens.
Adaptive rules. The simulation uses a risk-adaptive propensity driven by the agent's own history. A deterministic rule and a plaintext pre-published schedule give and coverage 0.00; a PRF-keyed schedule with the same propensities gives coverage 1.00 (adaptive_rule_sim.py).
Widths and label budgets (E5). The matched-budget baseline (the same online procedure on the first episodes, all labeled) covers at in all four cells; the measured standard-deviation ratio of the two point estimates is 1.04–1.19 (predicted 1.11 and 1.22). At matched window (, the audit using about 160 labels) the audit bound is wider, against from the standard deviation alone; the excess is the empirical-Bernstein penalty at 160 labels.
Decoy protocol. An audit-like prompt is shown at a B-independent rate on every episode, so the agent sees the same prompt rate on both arms, and the label is taken silently on every episode. On the real labels the plain certifier's coverage is 1.00 at , versus 0.07 for the same prompt shown only when audited (E6's parametric erasure channel gives 0.04), and the realized attack rate also falls. A gate that asks on every effect is the same construction with .
APPENDIX H
THE SIMULTANEOUS EXCEEDANCE BOUND
Table XII collects every padded figure in the paper. Each bounds a different quantity on a different run, and none is a design-time for a committing path whose raw stamps
TABLE XII EVERY PADDED-TIMING BOUND IN THE PAPER: WHAT IT COVERS AND WHETHER IT CAN SERVE AS A DESIGN-TIME FOR THEOREM 5.
| Value | Run / path | Assumption | Design-time ? |
|---|---|---|---|
| E1, six paths, fixed ceiling, 166–167 clean pairs each | erasure model; fixed code path | no: the stamp observer rejects the model, amplification overruns the ceiling | |
| size-aware grid, , 80 pairs per point | erasure model; tested grid only | no: covers the grid, not every reachable | |
| same grid, confined rerun, 500 pairs per point (fallback rule) | erasure model; tested grid only | no, as above; fail-closed counting keeps the certificate sound | |
| same rerun, unpadded counterfactual count | none (diagnostic) | no: diagnostic of the legacy harness | |
| timestamp path, 1000 pairs, fixed ceiling | erasure model | no: KS rejects the model on this path | |
| timestamp path, stamps coarsened to s | stamp phase uniform and independent of | per probe only; composition across probes untested | |
| coarse release (not deployed), same counts as the 0.0074 row above | stamps are the agent's only clock | yes, by construction; not deployed | |
| 0.018 | input-size grid pooled into one binomial | none | invalid: bounds a mixture, not the supremum |
| 0.144 | Bonferroni over cells, | none | valid but conservative |
the agent reads. A usable must come from confinement by construction (coarse release) or the residual must be removed (per-call coin). Where a figure does apply, its size matters: at the inflation is usable at the base rates of E5 (0.22–0.38) but near-vacuous below about 0.02.
Reachability, in full. Each bound supplies the of Theorem 5 only if the design confines the channel for all reachable behaviours. A fixed ceiling does not, because the agent can inflate the audit branch's latency by reading more (§VI). The ceiling must instead be safety , where is the agent-controlled ingest size, is a code-level complexity bound on the branch's pre-commit work, and ingestion is capped at . Reachability and are then defined in terms of each other, since the mechanism built for a budget determines the reachable set: a claimed is sound only if , and this must be verified at the candidate because soundness is not upward-closed. When the base rate is small relative to , the additive certificate is near-vacuous. The right move is then to remove the bias at its source, or to use Proposition 6 where a is available.
Theorem 5 consumes . On a tested grid of points, the erasure-channel bound of §VI makes this , where is the exceedance rate of arm at grid point . We bound from paired runs per point.
(i) Pooling is invalid. One binomial over all runs bounds the mixture rate, not the supremum; a configuration that concentrates exceedances at one , the adversarial case of the amplification experiment, is compatible with any pooled bound below the per-point rate (pooling the grid would report 0.018).
(ii) An exact, dependence-free simultaneous bound. Runs are independent across pairs given the configuration; no assumption is made on the dependence between the two arms within a pair. Let attain , and let be the event that arm of a pair at exceeds. The all-zero event requires, at , no exceedance in either arm of any pair, and per pair . Hence . The procedure is fixed in advance. If all runs are clean, report . Otherwise report , with the one-sided Clopper–Pearson upper bound at level . This covers at level . Under independence across pairs the inequality is tight at the worst-case configuration ( at with coinciding exceedance events, none elsewhere). At and , , equal to the per-point two-arm bound: multiplicity over is free, and the -split pays for the two arms. A Bonferroni bound over the cells ( at ) is valid but conservative.
(iii) Application. Input-size grid (): 0.090 at ; the pre-registered rerun at triggered the fallback branch, giving 0.032 for a counterfactual count of raw latency above the ceiling on unpadded runs and 0.028 for the confined padded implementation. The six E1 effect paths (, 166–167 clean pairs per path): , replacing the path-pooled 0.0074.
(iv) The model layer. The bounds above treat every non-exceeding run as uninformative. What the agent observes of such a run (exit overshoot, post-pad commit time, the stamp the commit writes) could still depend on through state the audit branch leaves behind, so the exit is confined by design (App. C) and watched at the observer's resolution; a two-sample test can raise an alarm but not certify independence, and at pairs the smallest detectable TV is about 0.07. At microsecond resolution overshoot and commit time raise none (KS and 0.77; C2ST 0 [0, 0.060] and [0, 0.108]), but the timestamp observer, which composes them with the inter-call path, rejects the model: C2ST 0.072 [0.002, 0.140], KS , mean shift in against a per-probe standard deviation of ; a Gaussian averaging model with this shift predicts 0.53 at probes and 0.98 at . The padded bounds are therefore conditional on a model that holds only approximately; the residual composes per Theorem 3, and the unconditional fix is the per-call coin.
(v) Two model-free bounds for the stamp. The timestamp observer runs on a seventh path, two permitted create_file commits under the fixed ceiling, where the exceedance bound would be 0.0074 but the KS test rejects the model behind it. Coarsened stamps: if the first stamp's phase is uniform on and independent of B, the agent reads a randomized post-processing of the raw gap (Theorem 1(iii)), and simultaneous Clopper–Pearson intervals over the observed cells (with one pooled cell for unseen values; the partition is chosen from the same sample, so these are diagnostics, and a finite-sample bound needs bins fixed in advance) give , 0.10, 0.073, 0.062, 0.063 at ms, 1 ms, 10 ms, 100 ms, 1 s (empirical 0.013, 0.031, 0, 0.010, 0.012); at s the alphabet is too large. The bound is per probe and composing it needs a fresh phase per stamp, which we did not test. Coarse release: if commits are released on the ticks of a clock of resolution ms and the stamp is the tick, the stamp depends on B only through two counted events, pre-commit work past the ceiling (0/1000 per arm) and commit plus overshoot past the tick (never above 2.5 ms on 1002 permitted runs), so it is an erasure channel by construction and case (c) gives per probe. This variant was not deployed and requires that the stamps be the agent's only clock. For Proposition 6 the same cells give , 0.057, 0.052 at and s, so 1000 pairs do not yet certify a useful multiplicative residual.
APPENDIX I
A MINIMAL SEMANTICS AND THREE CONSTRUCTIONS
Definition 3 (Audit game). Fix a cross-episode history . An episode is a sequence of steps with within-episode history . The mechanism is a family of Markov kernels from histories, actions, and the audit seed to observations , together with the rule that sets . A policy is a family of kernels from the view to actions , with the agent's private randomness, . The run alternates and . The commit step is a stopping time with respect to , the certificate's coin is , and a history is reachable if it has positive probability under . PNI (Definition 2) is the statement that, for every , is fresh given under : , which is when the propensity is constant.
Proof of Proposition 4 (stated in §V).
Proof. (i) Write for the law of given . We show by induction on that does not depend on . For , and . If does not depend on , then has a law that does not depend on , and does not read by hypothesis, so the law of given does not depend on either. Since is a stopping time of , the law of given does not depend on , so . As with a function of , , the freshness condition of Definition 2; for a constant propensity this is . (ii) is a function of and of kernels that do not read , all independent of , hence of . (iii) The prompt indicator is generated by an -free kernel, so (i) applies. (iv) The composition of two -free kernels is -free, so (i) applies; the general case is (ii) applied to the composed kernel. For the failure case, the downstream kernel's output is a function of the upstream coin, so the view law depends on it.
A shared resource is different. Two episodes that each satisfy (i) in isolation do not satisfy PNI jointly when their kernels share a resource whose state depends on both seeds: the hypothesis of (i) fails for the composed kernel, and the leakage can be computed exactly.
Proof of Proposition 5 (stated in §V).
Proof. For episode 1, with independent of , so the two view laws are those of and . For an integer pmf that is unimodal with mode , , and the sum telescopes to on each side of the mode, so . Binomial pmfs are unimodal; the asymptotic form is the local central limit theorem. A noisy observation of is a post-processing, which cannot increase (Theorem 1(iii)).
At the proposition gives 0.80, 0.41, 0.30, 0.22 for . The measured lower bounds on the real gate (App. K) are 0.43, 0.26, 0.25, 0.18: below the noiseless values, as a noisy statistic must be, and decaying the same way. Per-call coins do not help, because L depends on every coin in the round.
APPENDIX J
THE PER-CALL ESTIMAND UNDER DILUTION
(i) The static conversion fails. Construction: each violating episode attempts once, and the adversary appends benign gated calls to it. The per-call rate drops by roughly the dilution factor while the true per-episode attempt rate is unchanged, so the static readout reads about of the truth. At and the certificate reads 0.058 against a true (Table XIII). The estimator is not biased, since the per-call quantity genuinely dropped; the attack rewrites the readout.
(ii) The measured- readout is dilution-invariant. Index gated calls by j and let be the conditional probability, given everything before call j, that call j attempts a violation. After n episodes with calls in total, let and let be the per-call certificate, an anytime-valid upper sequence for .
Proposition 7 (Measured- readout). With probability , simultaneously for all , . If every episode has at most calls, then with probability , simultaneously for all , , with as in App. E.
Proof. identically, and is a stopping time for the call sequence, so the time-uniform event of the per-call sequence covers it for all at once. For the second claim, by a union bound over the calls of episode ; the differences are martingale differences in , bounded uniformly in at level .
The agent chooses , but dilution cancels in : padding an episode with benign calls raises and lowers the per-call mean by the same factor. The bound is tight when violations concentrate in one call and loose when they spread (the "spread" row of Table XIII reads about twice the truth). The only way for the agent to lower the readout is to make fewer violating calls.
Deployment cost of the measured- readout. The readout is conservative by , the mean number of violating calls per violating episode. Counting the effectful calls each AgentDojo workspace injection goal requires and weighting by which goals succeeded gives 1.69 on E8's silent arm (episode rate 0.217, readout target 0.366) and 1.67 on the plain arm (m15_percall_cost.py); this is a lower bound on the looseness, since an agent may make more calls than a goal requires.
(iii) The cap. With fail-closed flagging of episodes that reach , ; the flag rate is gate-visible, and where padding is used the cap also bounds the per-episode ceiling bill.
Simulated demonstration (estimand layer; no measured channel and no real labels, so a construction check only). The setting is episodes, a fraction 0.3 of them violating with one attempt each, and . The coin is a silent per-call coin with , and the certifier is the empirical-Bernstein sequence at . The readouts use and , with the level split and a Clopper–Pearson bound on the flag rate. Each row uses 200 seeds, fixed before running. The static readout collapses as grows, the measured- readout stays at about 0.35, and the capped readout covers by flagging every diluted episode at (flag rate 0.30).
TABLE XIII DILUTION: MEAN READOUTS OF (COVERAGE).
| row | true per-call rate | static (g=5) | measured | capped | |
|---|---|---|---|---|---|
| k=1 | 0.301 | 1.0 | 1.000 (1.00) | 0.350 (1.00) | 0.358 (1.00) |
| k=10 | 0.081 | 3.7 | 0.474 (1.00) | 0.351 (1.00) | 0.356 (1.00) |
| k=100 | 0.010 | 30.7 | 0.058 (0.00) | 0.354 (1.00) | 0.674 (1.00) |
| spread | 0.461 | 1.3 | 1.000 (1.00) | 0.669 (1.00) | 0.674 (1.00) |
APPENDIX K
ADDITIONAL LEAKAGE-ASSESSMENT DETAILS
E2 probe-budget sweep. With a noisy clock ( s, tool-call), averaging more probes beats the noise. The certificate stays valid through , then fails in 77% of seeds at and in every seed at . At that point the true rate has risen to 0.43 while the certified bound is fooled down to 0.20. With padding the bound stays at 0.72, above a true 0.60, at every k (means over 200 seeds, , N=4000, normal-mixture sequence). At the channel layer the per-call coin is therefore valid beyond any feasible in-episode probe budget.
Byte-size dimension. At fixed m, inflating per-object content to 64 KB drives one-sided exceedances under the m-only ceiling (up to 60/0 of 60) and two-sided ones at the largest sizes. A ceiling on total ingested KB S, ms, leaves 1 exceedance in runs, so the fallback bound of App. H is only 0.15 at 100 pairs per point.
Load. All ceilings here are constants of one two-core host and must be re-calibrated per deployment. On the six fixed paths at ambient load (3000 pairs) there are 0 exceedances. With K busy cores on the two-core host (500 pairs each), gives 0/500 in both arms with padded latency independent of B (KS p=0.56, 0.94); at saturation (K=2) the audited arm alone exceeds (1/500 under the fixed ceiling; 85–99 per 100 under the size-aware ceiling, latency 720 ms against a 307 ms ceiling at m=96). In both cases the runtime exceedance count reports the breach ( ) and fail-closed counting keeps the certificate sound: load-robustness lives in the counting, not in either ceiling.
Timestamp clock (E1-ts). In the two runs of 1000 pairs the audited inter-timestamp gap has a median of 11.0 ms against 0.95 ms for the unaudited arm, and 7.1 ms against 0.22 ms; a held-out classifier reaches in both from one observation (host load average 4.4 at the end of the run, not controlled).
CaMeL caveats. 128 benign paired checks from 12 tasks at temperature 0; checks within a task are correlated (1 to 34 each), so task-level splits give 0.17 with a cluster-bootstrap interval [0, 0.56] that includes zero (0.19 [0, 0.63] on the 31 policy checks). Fifteen of 24 benign runs ended in an interpreter exception, no attacked runs were paired, and there is no padded arm.
Placement. A branch moved off the critical path but still concurrent on shared infrastructure re-opens the aggregate-load channel of §VIII; the safe placements are strictly post-commit with no agent-readable shared statistic, or pre-commit with the discipline of §V.
Aggregate load. Batch-synchronous serving of E1 episodes with workers, 300 rounds per cell, round makespan as the shared statistic, each worker's own coin . Single-coin C2ST lower bounds are 0.43, 0.26, 0.25, 0.18 (CIs from [0.30, 0.56] to [0.14, 0.22]), the audit shifting the statistic by 5.6–7.8 ms; the measured class moments give 0.48, 0.28, 0.19, 0.13, below the noiseless projection 0.95, 0.79, 0.63, 0.47. Capacity isolation (gate workers on one core, audits on the other) halves the shift to 2.7–4.3 ms but leaves C2ST at 0.33, 0.33, 0.17, 0.13, since the cores share memory bandwidth and cache. Per-cell load averages ran from 1.6 to 20 on the two-core host, so both configurations are oversubscribed at and the shared/isolated contrast is indicative only.