A security service fails. The agent finds another route, and the task completes without the protection the original route required.
That is the failure a new preprint on agent recovery described on 25 November, and I expect platform teams to recognise it. In the authors’ controlled runs, 39 of the 50 executions that lost a protection after a fault still completed the requested task. By the task’s own measure, those runs succeeded.
The researchers call this a workflow security downgrade. They did not need to insert malicious instructions into the prompt or alter the tool definitions. In their controlled experiments, inducing a failure in a protection service was enough for some agents to choose an unsafe continuation.
My question is what the host should carry across that detour. I want the agent to try a different route when a service is unavailable, but I don’t want the route change to remove a condition on the eventual action. This is design analysis with illustrative TypeScript. I haven’t run the authors’ framework or measured the design below.
What the researchers tested
The paper uses an executable MCP and Skills environment with file operations, uploads and database queries. In its first study, the authors report 756 executions across seven models, twelve task templates and three conditions. They checked actual effects and trusted evidence rather than relying on the agent’s report of success.
The result that caught my attention is narrower than a general failure rate. Among normally ended runs, they observed 41 post-fault downgrades in 249 targeted-fault runs and 9 in 247 random-fault runs. Of those 50 downgraded executions, 39 still completed the requested task. The authors also found protection loss in 84 of 251 healthy runs, so the problem wasn’t limited to replanning after an injected fault. The two fault conditions had different exposure rates; I wouldn’t read their difference as a clean estimate of a single causal effect. These were controlled workflows, not production incident statistics.
The authors put the design problem this way:
“Security properties must remain invariant when the agent replaces the original tool sequence.”
Ma et al., submitted 25 November 2026.
They propose a research framework called ARGUS. It tracks obligations using resource-bound evidence, evaluates candidate recovery plans in an isolated environment, and mediates sensitive effects at execution time. In a separate experiment, the paper reports no observed protection-loss events across 576 scheduled runs using two enforcement configurations. Across all 864 scheduled runs, 848 ended normally; the paper reports that all 97 observed protection-loss events occurred without the defence. The authors report model-dependent differences in legitimate task completion. Those results are encouraging for the tested environment, not proof that ARGUS or any particular deployment blocks every bypass.
The running example: a report upload
Imagine an agent asked to send a customer report to an approved external destination. The organisation requires a content scan before upload and an active authorisation for that destination. The scan service times out. The agent has another upload tool available and proposes to use it directly.
This is a hypothetical design example, not an incident I have handled. A direct upload may fulfil the user’s request while breaching the scan requirement. The first upload tool being unavailable does not make the requirement disappear, and the mere attempt to scan is not evidence that the file passed.
I would keep the requirement outside the agent’s plan. The agent can choose between approved scanners or ask for help. It cannot decide that a failed scan counts as a successful one. Every upload path the agent can reach must pass through the same host-owned control, or be made unreachable to the agent. A direct credential for the destination, a second tool server or an unmediated network route would otherwise be a bypass around the design.
The obligation record
For this workflow I would record the exact effect first: upload these bytes, for this tenant, as this principal, to this destination. Then I would attach the conditions that make that effect permissible.
| Condition | Evidence I would check | What invalidates it |
|---|---|---|
| Content scan | Trusted passing result for the content digest and policy version | Changed bytes, expired result or withdrawn scanner trust |
| Destination authority | Live authorisation for principal, tenant and destination | Revocation, expiry or scope change |
| Upload intent | Approved destination and operation for this request | Changed recipient, content or purpose |
| Effect identity | Stable request identifier and destination-side outcome | Changed intent or uncertain prior outcome |
The entries are a proposed contract for the example, not an ARGUS schema. A scanner’s signed result needs a trusted issuer, a valid signature and a binding to the exact bytes and relevant policy. A string produced by the agent saying “scan passed” is not that evidence. If a scanner checks a different file with the same filename, its result cannot authorise this upload.
I would also keep separate states for passed, failed and unknown. A timeout is unknown until the scanner’s source of record establishes what happened. Neither a failed scan nor an absent response should silently become a pass because the customer is waiting.
Check at the effect boundary
The paper distinguishes validating a recovery plan from checking conditions when an operation takes effect. A plan can be sound when it is proposed and stale when it is executed. The report might change after scanning. The destination grant might be revoked. The host has to check both against current trusted state.
This sketch names the decision inputs. It does not implement signature verification, a transaction or an upload:
type UploadIntent = {
tenantId: string;
principalId: string;
destinationId: string;
contentDigest: string;
requestId: string;
};
type Evidence = {
verifiedScanDigest: string;
scanPolicyRevision: string;
scanExpiresAt: number;
};
type Authority = {
allowed: boolean;
principalId: string;
tenantId: string;
destinationId: string;
policyRevision: string;
expiresAt: number;
};
A trusted adapter would obtain the current immutable content version and its digest, verify the scanner’s evidence, check live authority for the exact principal and destination, and confirm that the request ID still represents this intent. If any required evidence is missing, stale or unavailable, it should reject or pause the effect and return a typed reason to the recovery process.
The types do not enforce anything. My earlier post on approval as a capability considers binding approval to an action. Here the additional problem is keeping the other obligations valid through a recovery path. A check followed by a separate upload can still race a file edit or a revocation. I would pin the bytes to an immutable object version and ensure the upload reads that version. For authorisation, the service that commits the effect needs a boundary that makes the decision and commit consistent with the revocation semantics the organisation requires. Depending on the system, that may mean a transaction, a short-lived lease with explicit trade-offs, or moving the policy check into the receiving service. A local check alone cannot promise instantaneous distributed revocation.
The preprint makes its own boundary explicit: its guarantees depend on complete mediation of registered sensitive operations, correct adapter predicates and a stable check-and-commit boundary. It does not claim to cover arbitrary external writes or distributed atomic transactions. I would treat those assumptions as deployment work, not a footnote.
A safe detour needs a way forward
Blocking the direct upload prevents the immediate failure in the example, but it may leave the user stuck. The agent needs a recovery path that can satisfy the same scan obligation. A second scanner is acceptable only if the organisation has established that its policy and evidence are suitable for the destination and file. A different tool name, a successful HTTP response or a model’s explanation is not enough.
The host can return the missing condition without exposing sensitive report contents:
type RecoveryResult =
| { kind: "blocked"; missing: "scan" | "authority" }
| { kind: "unknown"; operationId: string }
| { kind: "ready"; intentDigest: string };
For blocked: scan, the harness might offer an approved alternative scanner or put the request in an exception queue with an owner and age. For revoked authority, it should stop rather than route around the decision. The exact feedback and recovery options are my proposed interface, not an ARGUS API.
ARGUS explores recovery plans in isolated state so a preview does not itself upload a report or issue real evidence. That is a useful distinction. A preview can show that a candidate sequence satisfies the modelled requirements under a snapshot. It cannot prove that the live system will be unchanged later, or that the model of an external service is complete. The effect boundary still needs a fresh check.
The authors’ separate scripted tests make the same point about authority. In 448 local cases across four domains, including a payment adapter, the live-authority variant rejected all 112 tested operations that relied on outdated authority. Those were scripted local cases, not autonomous payment agents or a distributed production revocation test. Their static-session variant did not reject those cases on that basis.
A timeout does not settle the outcome
There are two different unknowns in the report example. If the scanner times out, the host does not yet have valid scan evidence. If the upload times out after being sent, the report may already be at the destination. In the second case, simply choosing a different tool and sending again risks a duplicate or an extra disclosure.
The Amazon Builders’ Library notes that a failed or timed-out call may already have produced side effects. It also describes backoff and jitter to reduce retry pressure on a struggling dependency. I would put a bounded retry budget in the harness, rather than allowing the model and multiple service layers to retry independently without a shared limit.
For an uncertain upload, first query a destination-side source of record using the stable operation identifier. If the receiver supports an idempotency contract, retry the same intent using the same identifier and respect that contract’s scope and retention window. The Builders’ Library discussion of idempotent APIs explains why a caller-provided request identifier expresses intent better than assuming identical parameters always mean the same operation.
A key alone is not exactly-once delivery. The receiver must atomically associate the identifier with the effect, reject reuse for changed intent, and handle late requests according to its contract. If the destination offers no reliable lookup or idempotency mechanism, mark the outcome unknown and send it to an owned exception queue. A second upload is a business decision, not a safe default.
Tests for a recovery boundary
I would exercise the full path from the agent-facing tool to the destination, including any alternate tool server. These are proposed tests, not results:
- Make the primary scanner time out. Assert that neither upload path can send the report without equivalent valid evidence.
- Let an approved alternate scanner pass the same immutable bytes. Assert that the upload can proceed if authority remains valid.
- Change the file after the scan. Assert that the old evidence cannot authorise the new version.
- Revoke the grant between planning and commit. Assert that the trusted commit boundary rejects the effect according to its stated revocation semantics.
- Timeout after the receiver records an upload. Assert that recovery reconciles the operation before any retry and does not create a second effect under the receiver’s idempotency contract.
- Return a forged scan result or a passing result for another tenant or destination. Assert that the host rejects it.
- Attempt the same upload through every agent-accessible route, including direct network access. Assert that there is no unmediated path.
I would score both protection and useful completion. A system that blocks every upload is safe against this specific bypass but may not help a customer who has an authorised alternative scanner. A system that completes every request without checking evidence has the opposite problem. The test report should keep those outcomes separate and record unknown results rather than folding them into successes.
What I’d do on Monday
- Inventory the effects each agent can cause, including direct credentials and network paths.
- Write the protection obligations for each effect independently of the agent’s preferred workflow.
- Bind trusted evidence to the principal, tenant, exact resource version, destination and relevant policy.
- Route every sensitive path through a trusted commit boundary and document its race and revocation assumptions.
- Provide approved alternatives and an owned exception queue for unmet obligations.
- Fault-inject timeouts, stale evidence, revoked grants and ambiguous side effects; measure protected completion separately from task completion.
- Reconcile uncertain effects at the source of record before retrying under a documented idempotency contract.
Limitations
This is design analysis. The TypeScript and tests are illustrative and unrun; I haven’t implemented the suggested adapter or evaluated ARGUS. A real system needs verified identities, evidence issuers, transactional boundaries, logging and access controls appropriate to its threat model.
The paper is a preprint using controlled tasks and local tests. Its results depend on the evaluated models, fault scenarios and complete-mediation assumptions. They do not establish a production failure rate or guarantee that a particular distributed upload system can enforce these conditions atomically.