Workgroup: WIMSE P. Urien Internet Draft Telecom Paris Intended status: Experimental Ethertrust 4 December 2026 Expires: June 2027 Hardware and Network Bound Agentic Identities draft-urien-wimse-hnbai-00 Abstract Autonomous AI agents require cryptographic identities for authentication, trusted communications, and authorization. Agents may exchange credentials with other agents, thereby enabling identity theft. This document introduces Hardware and Network Bound Agentic Identity (HNBAI), an architecture combining non-exportable private keys in Secure Elements with externally enforced access isolation. Local USB connectivity and network connected Secure Elements are considered. A distributed architecture based on recursive TLS 1.3 authentication MAY separates the authentication infrastructure from the infrastructure hosting the agent's private key. The objective is to prevent credential disclosure from enabling another agent to independently exercise the associated identity. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. Status of this Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on June 2027. . Urien Expires June 2027 [Page 1] Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents Abstract........................................................... 1 Requirements Language.............................................. 1 Status of this Memo................................................ 1 Copyright Notice................................................... 2 1 Introduction..................................................... 3 2 Terminology...................................................... 4 3 Problem Statement................................................ 4 3.1 Private Key Transfert....................................... 4 3.2 Access Credential Transfer.................................. 5 4 HNBAI Security Model............................................. 5 5 Local Secure Element Architecture................................ 6 6 Network Secure Element Architecture.............................. 7 6.1 Access Control List......................................... 7 7 Recursive Authentication Architecture............................ 8 7.1 Distribution of secrets..................................... 9 7.2 Authentication Procedures.................................. 10 8 Security Considerations......................................... 11 9 IANA Considerations............................................. 11 10 References..................................................... 11 10.1 Normative References...................................... 11 10.2 Informative References.................................... 11 11 Authors' Addresses............................................. 12 Urien Expires June 2027 [page 2] Hardware and Network Bound Agentic Identities December 2026 1 Introduction According to [AIMS] an Agent is a workload that iteratively interacts with a Large Language Model (LLM) and a set of Tools, Services and Resources. An agent performs its operations until a terminating condition, determined either by the LLM or by the agent's internal logic, is reached. +----------------+ | Large Language | | Model (LLM) | +----------------+ ^ | | | (2) (3) | | | v +--------+ +------------+ +-----------+ | User |--(1)->| AI Agent |--(4)->| Tools | | or | | (workload) | | Services | | System |<-(6)--| |<-(5)--| Resources | +--------+ +------------+ +-----------+ AI Agent as a Workload according to [AIMS] Agentic AI systems consist of software entities capable of autonomous behavior, task execution, and interaction with other entities over local or public networks. An agent may run on a physical computer, in a virtual machine (VM), or in another isolated execution domain. As with conventional workloads, an agent requires an identity for authentication, authorization, accountability, and traceability. This draft focuses on Agentic system identity. Agentic systems introduce an additional threat scenario: an agent may decide to disclose its credentials to another agent as part of a task or collaboration, or as a consequence of prompt injection or software compromise. Credential sharing is not unique to AI agents. However, the ability of agents to exchange arbitrary information and to dynamically use tools makes reliance on their cooperative security behavior particularly undesirable. This document considers an agent to be untrusted with respect to the confidentiality of software-accessible credentials. Identity protection is enforced outside the agent's execution domain. Urien Expires June 2027 [Page 3] Hardware and Network Bound Agentic Identities December 2026 2 Terminology Agent: An autonomous software entity operating within an execution domain and associated with an administratively assigned identity. Secure Element (SE): A cryptographic hardware device providing protected key storage and cryptographic operations. Its assumed security properties include resistance to unauthorized key export. Key Confinement: Protection against extraction, duplication, or export of the private key from its assigned SE. Access Confinement: Restriction of direct access to an SE or an authentication service to an authorized execution domain, enforced independently of the agent. TLS-SE: [TLS-SE] A TLS 1.3 server implemented in a Secure Element. TLS-IM: [TLS-IM] A TLS Identity Module that protects an authentication secret and performs cryptographic computations on behalf of a client. IoSE: [IoSE] Internet of Secure Element Server, an architecture providing network access to individually addressable SEs. An agent A-i is associated with an asymmetric key pair (sk-i, pk-i), with sk-i for private key, pk-i for public key, and a trusted credential Cred-i binding pk-i to an agent identifier. Identity(A-i) = (sk-i, Cred-i) For example two credential formats COULD be considered: - An X.509 certificate [RFC5280] containing the public key. - A JSON Web Token (JWT) [RFC7519] bound to the public key, using proof-of-possession semantics [RFC7800]. The verifier checks the credential and verifies possession of the associated private key, for example through a digital signature. 3 Problem Statement 3.1 Private Key Transfert If Agent-A has access to its private key sk-A in software, it can transmit that key and its credential to Agent-B. Agent-B can then produce valid signatures independently of Agent-A. Urien Expires June 2027 [Page 4] Hardware and Network Bound Agentic Identities December 2026 +------------------+ +------------------+ | Agent-A | | Agent-B | | Cred-A, sk-A |---------->| Cred-A, sk-A | +------------------+ Key copy +------------------+ | | v v Sign(sk-A, M) Sign(sk-A, M') Illustration of Software Key Transfer A verifier cannot determine solely from a valid signature which software instance performed the operation. 3.2 Access Credential Transfer Generating and retaining sk-A inside SE-A prevents ordinary software extraction of that key. However, an agent MAY possess a password, PIN, PSK, or other credential authorizing access to SE-A. If the access interface is reachable by another agent, sharing the access credential can transfer the capability to use the protected private key, without extracting it. +-------------+ Share PSK-A +-------------+ | Agent-A |----------------->| Agent-B | +-------------+ +-------------+ | | | Reachable SE | +---------------+----------------+ | v +---------------+ | SE-A | | sk-A confined | +---------------+ 4 HNBAI Security Model HNBAI combines two independent properties: (1) Key Confinement: the private key is generated within and remains inside its assigned cryptographic hardware. Export or cloning operations are very difficult. (2) Access Confinement: direct access to the cryptographic resource, or to a necessary upstream authentication resource, is restricted by infrastructure that the agents cannot reconfigure. Urien Expires June 2027 [Page 5] Hardware and Network Bound Agentic Identities December 2026 Let D-i be the authorized execution domain of Agent A-i, and SE-j a cryptographic resource associated with Agent A-j. For the direct access model, the connectivity (C) policy is: C(D-i, SE-j) = 1 if i = j, and 0 otherwise. The intended security property is that another domain, given the agent's credential and software credentials, cannot obtain private- key operations through a direct access path. This assumes trusted hardware and trusted access enforcement. 5 Local Secure Element Architecture A hypervisor assigns each USB connected SE exclusively to one VM. A local [IoSE] server MAY expose the SE through a TLS socket on the VM's loopback interface. USB serial and PC/SC transports COULD be possible. +------------------------+ +------------------------+ | VM-A | | VM-B | | Agent-A + TLS client | | Agent-B + TLS client | | | | | | | | 127.0.0.1:8888 | | 127.0.0.1:8888 | | | | | | | | IoSE server | | IoSE server | +-----------|------------+ +-----------|------------+ | | +-----------|---------------------------|------------+ | | Trusted hypervisor | | | USB assignment A USB assignment B | +-----------|---------------------------|------------+ | | +------+------+ +------+------+ | SE-A | | SE-B | | sk-A | | sk-B | +-------------+ +-------------+ Local USB Access Confinement Each VM has its own loopback namespace. The local TLS front server is not reachable from other VMs or external networks. USB assignment is controlled outside the guest; the VM cannot acquire another SE simply by copying an access credential. Exclusive device assignment can be implemented by USB pass-through. Assigning independent USB controllers with an Input-Output Memory Management Unit (IOMMU), is an optional stronger hardware isolation configuration. Urien Expires June 2027 [Page 6] Hardware and Network Bound Agentic Identities December 2026 6 Network Secure Element Architecture In the network architecture, the SEs are hosted by a [IoSE] server and reached through a trusted network gateway. The agents retain access to external communication services. The cryptographic network is separated from the general purpose network. +-------------------------------------------------+ | Trusted host / hypervisor | | +---------+ +---------+ | | | VM-A | | VM-B | | | +----+----+ +----+----+ | | | vNIC-A | vNIC-B | | +----+-----------------------+----------+ | | | Trusted gateway: ACL and routing | | | | A -> SEN-A B -> SEN-B | | | +------------+-------------------+------+ | +-----------------|-------------------|-----------+ | | Internet egress Private crypto firewall / NAT network | | +------+-----+ +--------+--------+ | Internet | | IoSE | | A2A, APIs | | TLS Front Server| +------------+ | | | | | +--+--+ +--+--+ | | | SE-A| | SE-B| | | | sk-A| | sk-B| | | +-----+ +-----+ | +-----------------+ Network Access Confinement The host gateway controls Internet egress as well as cryptographic access. The Internet path is not a second path to the private IoSE server. The IoSE server is not published on the external network. Alternative paths through host NAT, forwarding, or proxies are prohibited. 6.1 Access Control List A trusted network attachment identifier (e.g., a dedicated virtual interface) identifies the source domain. A destination identifier identifies the assigned SE. Urien Expires June 2027 [Page 7] Hardware and Network Bound Agentic Identities December 2026 +--------------+----------------+---------------+ | Source | Destination | Decision | +--------------+----------------+---------------+ | Domain A | SEN-A | Allow | | Domain B | SEN-B | Allow | | Any other | Any SE | Deny | +--------------+----------------+---------------+ Example Access Policy An SE MAY be addressed by a dedicated IP address, TCP port, or a Secure Element Name (SEN) conveyed in TLS Server Name Indication (SNI) [RFC6066]. Where an endpoint selects an SE by SNI, the access policy is applied to the selected destination, not just the shared IP and port. A dedicated IP or port also requires an enforced binding to the selected SE. SNI is client-supplied routing information, not a means of source authentication. An SNI-aware gateway can enforce this policy before forwarding TLS records. TLS remains terminated at the SE. For example, on a Linux host running VirtualBox, separate host-only networks can identify VM attachments; nftables and an SNI-aware TCP proxy can enforce the policy. 7 Recursive Authentication Architecture The direct network model enforces access confinement at each signing SE. Recursive authentication [TLS-XAUTH] allows this restriction to be applied instead to an upstream authentication SE. Two logical IoSE server infrastructures are defined: 1) IoSE-IM: A confined authentication infrastructure hosting a TLS- IM for each agent. It protects the long-term downstream PSK and supplies the Binder and Derive functions. 2) IoSE-KM: A key management infrastructure hosting the agent's non- exportable asymmetric private key. It may be deployed on a local network or a public network, including the Internet. Urien Expires June 2027 [Page 8] Hardware and Network Bound Agentic Identities December 2026 +------------------------+ | VM Agent-A | | Cred-A, ID1, PSK1 | | tlsse client | +-----------+------------+ | | | +---------------------------+ | | +-----------+------------+ | | Trusted gateway | | | ACL: A -> IM-A | | +-----------+------------+ | | | TLS session 1 TLS session 2 Private network LAN / Internet | | +-----------+------------+ +------------+-------+ | IoSE-IM | | IoSE-KM | | +------------------+ | | +--------------+ | | | IM-A | | Shared PSK2 | | KM-A | | | | PSK1, PSK2 |..:..............:..| PSK2, sk-A | | | | Binder / Derive | | | | Signature | | | +------------------+ | | +--------------+ | +------------------------+ +--------------------+ Distributed HNBAI Architecture The client establishes both TLS connections. The dotted relationship represents the common PSK2 provisioned in the two SEs, not a network connection between them. The authentication IoSE-IM server does not need Internet access to perform Binder and Derive. 7.1 Distribution of secrets +-----------------+-----------+----------+-----------+ | Item | Agent VM | IM-A | KM-A | +-----------------+-----------+----------+-----------+ | PSK1 | Yes | Yes | No | | PSK2 | No | Yes | Yes | | Private key sk-A| No | No | Yes | | Cred-A | Yes | Optional | Optional | +-----------------+-----------+----------+-----------+ PSK1 authenticates the first TLS connection and MAY be exposed to the agent. Its disclosure does not grant another execution domain direct access to IM-A. PSK2 is provisioned in both SEs and is not exported to the client. Each relationship uses an independent, high- entropy external PSK [RFC9257]. Urien Expires June 2027 [Page 9] Hardware and Network Bound Agentic Identities December 2026 7.2 Authentication Procedures Recursive authentication [TLS-XAUTH] delegates two TLS 1.3 key schedule operations [RFC8446] to the upstream SE: Binder(ID2, T): computes a PSK binder for the appropriate ClientHello transcript using PSK2. Derive(ID2, DHE): derives the TLS handshake secret from PSK2 and the (EC)DHE shared secret for the downstream connection. Agent / tlsse IM-A KM-A | | | |== TLS session 1 ==| | | PSK1 + ACL | | | | | |-------Binder ---->| | |<----- Binder -----| | | | |-- ClientHello (ID2, Binder, key share)->| |<-- ServerHello (selected key share) ----| | | | |------Derive ----->| | |<-- Handshake Sec.-| | | | |<-- Encrypted handshake / Finished ------| |---------------- Client Finished ------->| | | |============ TLS session 2 ==============| | | |---------------- Sign(M) --------------->| |<--------------- Signature --------------| | | Two-Hop TLS Authentication This is a conceptual full PSK-(EC)DHE handshake without early data, resumption, or HelloRetryRequest. The client verifies the server's Finished message and derives the traffic keys according to TLS 1.3. An open tlsse client [TLSSE-CLIENT] MAY provide a starting point for an implementation. The client receives the handshake secret and holds session keys. Urien Expires June 2027 [Page 10] Hardware and Network Bound Agentic Identities December 2026 8 Security Considerations This entire document is about security. 9 IANA Considerations This draft does not require any action from IANA. 10 References 10.1 Normative References [RFC5280] Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile, May 2008. [RFC6066] Transport Layer Security (TLS) Extensions: Extension Definitions, January 2011. [RFC7519] JSON Web Token (JWT), May 2015. [RFC7800] Proof-of-Possession Key Semantics for JSON Web Tokens (JWTs), April 2016. [RFC8446] The Transport Layer Security (TLS) Protocol Version 1.3, August 2018. [RFC9257] Guidance for External Pre-Shared Key (PSK) Usage in TLS, July 2022. 10.2 Informative References [AIMS] AI Identity Management System, Internet-Draft, draft-ietf- wimse-aims-01, November 2026. [TLS-SE] Secure Element for TLS Version 1.3, draft-urien-tls-se- 08.txt, June 2024 [TLS-IM] Identity Module for TLS Version 1.3, draft-urien-tls-im- 10.txt, January 2024 [IoSE] Internet of Secure Elements, draft-urien-coinrg-iose-08, August 2024 [TLS-XAUTH] TLS for Secure Element Recursive, draft-urien-tls-se- xauth-03, April 2026. [TLSSE-CLIENT] TLSSE Client for personal Network HSM. https://github.com/purien/pnhsm/tree/main/ubuntu Urien Expires June 2027 [Page 11] Hardware and Network Bound Agentic Identities December 2026 11 Authors' Addresses Pascal Urien Telecom Paris - Ethertrust 19 place Marguerite Perey 91120 Palaiseau France Email: Pascal.Urien@telecom-paris.fr Urien Expires June 2027 [Page 12]