← Lab /AI/ML

Stateful protocol prevents duplicate provider effects in delegated AI agents

AID-Guard guarantees at most one effect per reservation across retries, recoveries, and races

AI/ML arXiv 21 Aug 2026 Method Prototype evidence Threat model

Published as “AID-Guard: Stateful Authorization for Delegated Agent Effects”

Why it matters

The protocol can be adopted to close the authorization-effect gap in delegated AI agents, reducing risk of unintended actions without requiring major changes to existing provider APIs.

Summary

AID-Guard enforces a one-effect-or-certified-no-effect guarantee, preventing unauthorized provider actions even under retries, concurrency, and response loss; the evaluation of 13 mutation scenarios and four end-to-end traces (including real-world Stripe and Resend contracts) found zero unauthorized effects and successful certified-no-effect recovery, providing strong empirical support.

What they found 4

  1. All tested mutations were blocked and no unauthorized provider effect occurred.

    “All 13 official-MCP mutations were rejected by their responsible protocol check or, for post-effect mutations, returned an invalid verification result. None added an unauthorized provider effect.”

  2. Response-loss after a committed effect retains exactly one effect and no duplicate.

    “One effect; no duplicate”

  3. Certified no-effect release results in no predecessor effect and releases the reservation after installing a delivery fence.

    “No predecessor effect”

  4. The declared epoch-0 inventory was completely evaluated, confirming D0 compliance.

    “The frozen epoch-0 inventory was completely evaluated.”

Caveats 2

  • It excludes compromised trusted hosts or enforcement components, undeclared bypass paths, denial of service, side channels, non-atomic batches, and providers outside the supported outcome contracts.
  • User-intent inference, policy quality, multi-region authority-store linearizability, automatic discovery of semantically equivalent effect paths, and production hardening remain separate problems.

What’s new here 3

  • Stateful commit-time revalidation of the exact immutable request against current provider state (D2).
  • Conservative no-effect recovery that installs a durable delivery fence before releasing a reservation or transferring to a single successor.
  • Unified evidence graph separating public verification from privileged deterministic replay across the full authorization-to-effect lifecycle.

Threat model stated by the source

AdversaryThe adversary may fully control the planner, agent, and subagents; inject arbitrary text through email, web, retrieval, files, or tool output; fabricate caller metadata; and propose any syntactically valid operation. The adversary may also possess the ordinary credentials of a compromised authenticated actor, steal or replay protocol objects, substitute same-typed fields, race concurrent requests, induce process crashes or response loss, and tamper with ordinary audit storage.
CapabilityFull control over the untrusted planner and its subagents; ability to inject and replay messages; access to compromised credentials.
AssumesThe TCB components (root signer, gateway, authority store, effect adapter) remain uncompromised.; Declared provider contracts (atomic or controlled-idempotent) are correctly implemented and their evidence roles are uncorrupted.