| Internet-Draft | TRP | December 2025 |
| Rust | Expires 20 June 2026 | [Page] |
This document specifies the Transparency Record Protocol (TRP), an application-layer protocol for propagating AI transparency metadata across distributed systems. TRP enables organizations to maintain cryptographic chain of custody for AI-generated content, enforce governance policies at network boundaries, and provide verifiable audit trails for regulatory compliance.¶
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 4 June 2026.¶
Copyright (c) 2025 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.¶
The rapid deployment of AI systems across critical infrastructure requires standardized mechanisms for transparency and accountability. Current approaches rely on application-specific logging that cannot be verified across organizational boundaries.¶
The Transparency Record Protocol (TRP) addresses this gap by providing:¶
TRP is designed to integrate with existing HTTP infrastructure through custom headers, requiring no changes to application payloads.¶
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.¶
TRP operates as an overlay protocol on HTTP/1.1 and HTTP/2. Each HTTP request carrying TRP metadata includes:¶
Upon receiving a TRP-enabled request, a compliant service:¶
TRP-compliant HTTP messages MUST include the following headers:¶
Contains the Base64-encoded, zstd-compressed JSON TRP record.¶
X-Transparency-Context: <base64-zstd-json>¶
Indicates the TRP version.¶
X-Transparency-Protocol: TRP/1.1¶
Contains the Ed25519 signature of the current record state.¶
X-Transparency-Signature: <base64-signature>¶
Contains an uncompressed JSON summary for inline firewall evaluation.¶
X-Transparency-Inspection: {"record_id":"...","security_level":"SECRET"}
¶
The TRP record is a JSON object with the following top-level fields:¶
The entity_context object identifies the originating service:¶
The security_context object defines access control:¶
TRP uses a cumulative signature chain to ensure tamper evidence. Each processing step appends a signature covering:¶
The signature algorithm MUST be Ed25519 as specified in [RFC8032].¶
Signature verification MUST validate the entire chain from origin to the current step. Any invalid signature indicates tampering.¶
TRP-compliant firewalls SHOULD implement the following checks:¶
Validate all signatures in the chain.¶
Check that validity.expires_at has not passed.¶
Verify entity_context.organization is in the allow-list.¶
Verify security_context.level does not exceed local clearance.¶
Verify required frameworks are present in governance_context.¶
Verify destination is in egress_context.authorized_recipients.¶
TRP relies on Ed25519 signatures and SHA-256 hashes. These algorithms are considered secure as of this writing.¶
The validity.expires_at field provides replay protection. Receivers SHOULD reject records with expired timestamps.¶
Entity private keys MUST be stored in hardware security modules (HSMs) or equivalent secure enclaves in production deployments.¶
Large TRP records may be used for DoS attacks. Implementations SHOULD enforce maximum record sizes (RECOMMENDED: 64KB compressed).¶
This document requests registration of the following HTTP headers:¶
The following ABNF grammar defines the TRP header format:¶
TRP-Context-Header = "X-Transparency-Context" ":" SP Base64-Value
TRP-Protocol-Header = "X-Transparency-Protocol" ":" SP "TRP/" Version
TRP-Signature-Header = "X-Transparency-Signature" ":" SP Base64-Value
TRP-Inspection-Header = "X-Transparency-Inspection" ":" SP JSON-Object
Version = 1*DIGIT "." 1*DIGIT
Base64-Value = 1*( ALPHA / DIGIT / "+" / "/" / "=" )
JSON-Object = "{" *( JSON-Member ) "}"
Security-Level = "PUBLIC" / "INTERNAL" / "CONFIDENTIAL" /
"RESTRICTED"
DID = "did:" Method ":" Method-Specific-ID
Method = 1*ALPHA
Method-Specific-ID = 1*( ALPHA / DIGIT / "." / "-" / "_" / ":" )
¶
{
"protocol": "TRP/1.1",
"id": "550e8400-e29b-41d4-a716-446655440000",
"started_at": "2025-12-17T14:30:00Z",
"entity_context": {
"organization": "did:web:example.gov",
"service_id": "gateway",
"certificate_chain": ["MIIB..."]
},
"security_context": {
"domain": "COMMERCIAL",
"level": "PUBLIC"
},
"signatures": []
}
¶
The author would like to thank the AI governance and security communities for their input on this specification.¶