SCOUT: Split-Custody, Session-Bound Credential Renewal for Human-Authorized AI Agents
AI coding agents, CI jobs and other unattended automation increasingly call third-party provider APIs on behalf of a human. Today this usually means handing the workload a long-lived token, or parking a decryptable refresh token at a central broker. Both create a persistent, reusable secret. We describe SCOUT, a credential-brokering design in which the two materials needed to renew access are held by different parties: an ephemeral execution runner holds the refresh token and the only key that opens sealed grants, while a broker holds the confidential-client authentication. Neither party alone, and no snapshot of the broker's storage, can mint a new access token, yet a live, key-pinned session can still be renewed. A keyed commitment, checked before the client authentication is used, stops the broker from refreshing a token issued under a different approval. Generation receipts and exclusive reservations, committed with the runner-sealed reply in one conditional write, let a lost response to a single-use refresh be replayed without a second provider exchange, although the broker cannot decrypt what it replays. SCOUT attempts provider revocation before local deletion, and an optional isolated supervisor keeps child-agent permissions bounded across credential renewal. The protocol is verified with inductive-invariant proofs discharged by the Z3 SMT solver and independently checked by the Lean 4 kernel, the same models in TLA+ checked by TLC, and a symbolic analysis in ProVerif against an active network attacker for unbounded sessions. An open reference implementation in Rust is included, with its protocol core verified directly by the Kani model checker, end-to-end tests, a Docker Compose demo and a Helm chart. Every property is paired with a deliberately broken variant that each tool must reject. This record contains the paper and a snapshot of the repository (paper source, proofs, implementation and chart); the repository is at https://github.com/Algiras/scout-proofs
Authors
- Algimantas Krasauskas
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24568572
- Primary Topic
- Advanced Authentication Protocols Security
- Type
- preprint