Where Agent Defenses Fail: A Case Study of Policy Compositions and Measurement Limits
Abstract
A coding agent may need to upload a report while its sandbox blocks network access.
A host mediator can restore delivery, but an injected instruction may add a secret to the approved request.
We study this interaction using files and HTTP receipts to measure effects independently of control logs.
Two prospective frozen-input cohorts comprise 110 and 300 runs on previously explored authored tasks.
Restrictive sandboxing produces no observed attack harm but reduces benign utility to 6/8 and 12/24.
Mediation restores uploads and admits disclosure; complete-line matching retains full benign utility but misses two value-only disclosures in the expanded cohort.
A separate 72-run boundary study identifies encoded disclosure, observer misses, and formatting checks that obscure benign refusals.
An 80-run SafeAgents/OpenShell follow-up shows that containment stops the tested guard misses among valid observations, while mediation restores benign uploads and delivers both encoded-attestation attacks.
Twelve judge-error rows remain unscored.
A separate response-capture diagnostic reproduces their failures at the native token budget.
A 12-run exact-publication-contract experiment blocks both attacks but also rejects both benign formatting variants; a 4-run normalized follow-up restores both benign uploads while still rejecting both attacks.
These small, single-model studies identify delivery-path and measurement limits; they do not establish general attack resistance.