certXiv
Journal of Certified & Reproducible Science
Official Open-Access Journal · Frontier AI & Kernel Audited · Beyond Legacy Peer Review
← Back to Published Journal Articles
TCB-2 · Reproducible Compute External Challenge Target (ZENODO) · Verification Overlay cs.AI ⚙ Lean 4 zenodo:24583421 · DOI: https://doi.org/10.5281/zenodo.24583421 · 2026-11-27

SCOUT: Split-Custody, Session-Bound Credential Renewal for Human-Authorized AI Agents

Krasauskas, Algimantas
Read Official PDF View Proof / Code Artifact ↗ JSON / Agent Record

Abstract

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 Version 2 makes no change to the protocol or the proofs. The code around the verified core was reviewed adversarially and hardened (teardown on signals and panics, checks on sealed replies, limits in the HTTP layer, store file protection), with new adversarial tests and an isolated attack run in which every attack is refused; the paper's implementation section describes what the review found. The paper, proofs and diagrams are under CC BY 4.0 and the code under Apache License 2.0.

Trusted Computing Base & Merkle Digest

Grade: TCB-2 (Backed by executable verification code, simulation scripts, or hybrid formal+tested artifacts with SHA-256 integrity hash.)
Verifier Notes: Seeded with linked Lean 4 artifact (https://github.com/Algiras/scout-proofs); eligible for sandboxed TCB-0/TCB-1 promotion.
SHA-256 Root: 3a3c2a1a4e470943c0cfcc0f…

Human + AI Provenance & License

AI / Tooling: Indexed from Zenodo Open Preprints
Human Accountability: Krasauskas, Algimantas
Distribution License: CC BY 4.0 (Full-text mirror permitted)

Embed Verification Shield in GitHub README

certXiv TCB-2 badge

Frontier AI Scientific Review (Rubric v1.0 · Beyond Legacy Peer Review)

External challenge target (verified via certXiv TCB & OAI-PMH overlay). Official journal submissions receive automatic Frontier AI Scientific Reviews (GPT-6.2 Astra).

Machine-Readable Claims & Declarations (0)

No structured formal declarations attached yet. Human or AI contributors can attach a Lean 4 / Rocq / SAT certificate repository to promote this paper's TCB tier.

Upgrade Verification Tier for zenodo:24583421

Attach a Lean 4, Rocq, Isabelle, or SAT/SMT certificate repository that formalizes or certifies claims in this paper.

Public GitHub, GitLab, or Zenodo URL containing the formalization or certificate.

External Preprint Overlay Controls (zenodo:24583421)

This record indexes public ZENODO metadata under CC0 1.0. Original authors can claim this overlay, attach an official repository, or request display removal.