SUDP: Secret-Use Delegation Protocol for Agentic Systems

Xiaohang Yu, Hejia Geng, Xinmeng Zeng, William Knottenbelt
4/27/2026
7 citations
cs.CRcs.AI

Official code: xhyumiracle/sudp (6 stars, Rust, Apache-2.0, Rust, last commit 2026-08-19).

Abstract

Agentic systems now act with user secrets for APIs, messaging platforms, and cloud services. Today's agent runtimes typically implement authorization by exposure: enabling action means placing a reusable secret, or a reusable artifact derived from it, inside the runtime, so a transient prompt-injection or tool-side compromise becomes durable account compromise.

Show full abstract

Existing defenses cover adjacent pieces such as secret storage, scoped delegation, sender-constrained tokens, and runtime monitoring, but none states the combined requirement: an untrusted autonomous requester should be able to cause a user-authorized secret-backed operation without gaining reusable authority over it. We formalize this as the Agent Secret Use (ASU) problem and identify seven security properties any solution must satisfy, spanning authorization integrity and secret confidentiality. We propose the Secret-Use Delegation Protocol (SUDP), in which a requester proposes a canonical operation, the user authorizes it with a fresh authenticator-backed grant, and a custodian redeems the grant to perform the bounded use; reusable authority never crosses the requester boundary. We specialize SUDP for LLM-driven agents, where it applies whenever a tool call would exercise user-enrolled authority-bearing material. Under standard cryptographic assumptions, SUDP satisfies six of the seven properties; the seventh, runtime-memory confidentiality, is closed by composition with a hardware-rooted runtime. A reference implementation, available at https://github.com/xhyumiracle/sudp, adds sub-millisecond protocol overhead per mediated call.

View on arXivView PDF

Code Implementations(1)

xhyumiracle/sudpOfficial100%
RustApache-2.0

Secret-Use Delegation Protocol — protocol-level secret use for agentic systems

60Rust, TypeScriptMay 21, 20263 months agoApache-2.0

Similar Papers

Cite this paper

@article{yu2026sudp,
  title  = {SUDP: Secret-Use Delegation Protocol for Agentic Systems},
  author = {Xiaohang Yu and Hejia Geng and Xinmeng Zeng and William Knottenbelt},
  year   = {2026},
  eprint = {2604.24920},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.24920v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.24920.svg)](https://codeofpaper.com/paper/2604.24920)

Discussion