| Internet-Draft | Client-Only-Processing Header | November 2026 |
| Ayoub | Expires 2 June 2027 | [Page] |
Modern web applications increasingly execute compute-intensive document, media, cryptographic, and clinical imaging workloads entirely inside the user agent using WebAssembly, Web Workers, and WebGPU without transmitting user-supplied files to a remote server. However, HTTP currently lacks a standardized, machine-readable response header field allowing an origin to declare verifiable zero-upload execution invariants that user agents, browser extensions, and automated security auditors can cross-check against active transport policies.¶
This document specifies the Client-Only-Processing HTTP response header field, structured as an RFC 9651 Dictionary, together with an optional /.well-known/client-only-processing.json attestation manifest. Together, they enable an origin to declare strict client-local payload confinement, network egress restrictions, and cryptographic subresource digests that an independent verifier can audit deterministically at runtime.¶
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 2 June 2027.¶
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.¶
Historically, browser-based file transformation utilities required uploading user files over HTTP to server-side worker fleets, creating data-retention, regulatory compliance, and breach-exposure risks. Advances in WebAssembly [W3C-WASM], isolated Web Workers, and client-side memory management have made it practical to process large binary payloads entirely within local volatile memory inside the browser sandbox [AYOUB-2026].¶
Despite this architectural shift, users and enterprise security gateways cannot easily distinguish a genuine client-only web application from one that silently exfiltrates file bytes via background fetch(), XMLHttpRequest, Navigator.sendBeacon(), WebSocket, or WebRTC channels. While Content Security Policy (CSP) [W3C-CSP3] provides low-level directive enforcement and Subresource Integrity (SRI) [W3C-SRI] pins static bundle hashes, neither mechanism alone expresses the high-level semantic claim that user-selected input payloads never leave the client device.¶
This specification defines:¶
Client-Only-Processing HTTP response header field (Section 3), encoded as a Structured Field Dictionary [RFC9651].¶
/.well-known/client-only-processing.json (Section 5) listing cryptographic SHA-256 digests of client-executed WebAssembly and script artifacts for reproducible build auditing.¶
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.¶
This specification uses the Structured Fields syntax and parsing algorithms defined in [RFC9651], HTTP semantics from [RFC9110], and Well-Known URI conventions from [RFC8615].¶
The Client-Only-Processing HTTP response header field is a Dictionary Structured Field (Section 3.2 of [RFC9651]) sent by an origin server on HTML document responses to assert that User Payloads handled within the resulting browsing context are processed exclusively on the client.¶
Client-Only-Processing = sf-dictionary¶
The dictionary defines the following keys. Unrecognized keys MUST be ignored by recipients in accordance with [RFC9651] extensibility rules.¶
mode (Token, REQUIRED):Declares the enforcement profile. Defined token values are:¶
strict: Once static scripts and WebAssembly modules are loaded, the document's effective policy prohibits all outbound network requests carrying dynamic data (connect-src 'none' and form-action 'none').¶
static-fetch: Outbound requests are restricted exclusively to idempotent GET or HEAD fetches of static runtime assets (such as lazy-loaded WebAssembly binaries or font tables) listed in the attestation manifest, with no User Payload bytes in URLs, headers, or request bodies.¶
egress (Token, OPTIONAL):none (default when mode=strict) and same-origin-static.¶
sri (Boolean, OPTIONAL):?1 (true), asserts that every external <script> element and dynamically instantiated module carries cryptographic Subresource Integrity verification [W3C-SRI] or matches a digest in the manifest.¶
isolated (Boolean, OPTIONAL):?1 (true), indicates that the browsing context enables cross-origin isolation (Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp) for deterministic bounded WebAssembly linear memory.¶
manifest (String, OPTIONAL):"/.well-known/" referencing the JSON attestation manifest (Section 5). If omitted, verifiers MAY probe "/.well-known/client-only-processing.json" when explicit manifest auditing is requested.¶
An origin serving a zero-upload document inspector under strict egress lockdown sends:¶
A conforming verifier (such as a browser privacy indicator, enterprise proxy, or automated security scanner) evaluating an HTTP response containing Client-Only-Processing MUST perform the following checks before treating the zero-upload assertion as verified:¶
Client-Only-Processing field value as a Structured Field Dictionary (Section 4.2.2 of [RFC9651]). If parsing fails or the mode member is absent or not a Token, verification MUST fail.¶
https scheme) or a trustworthy local loopback origin. Assertions over cleartext HTTP MUST be rejected.¶
Inspect the effective Content-Security-Policy header(s) delivered with the response:¶
mode=strict, verify that the effective policy includes connect-src 'none' and form-action 'none', and does not permit arbitrary third-party image, media, or frame navigation sinks capable of URL query exfiltration.¶
mode=static-fetch, verify that form-action 'none' is present and connect-src is restricted to 'self' or an explicit allowlist of immutable static asset origins declared in the attestation manifest.¶
isolated=?1 is asserted, verify that Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp (or credentialless) are present on the response.¶
RTCPeerConnection STUN/TURN iceServers and dynamic DOM <a ping> or stylesheet url() insertions) to confirm no covert egress channel bypasses connect-src.¶
If any mandatory condition above is violated, the verifier MUST classify the assertion as unverified and SHOULD surface a diagnostic warning indicating which transport invariant conflicted with the declared Client-Only-Processing header.¶
To allow independent auditors to verify that served JavaScript and WebAssembly binaries correspond to auditable source builds, an origin MAY publish a JSON document (application/json) at /.well-known/client-only-processing.json in accordance with [RFC8615].¶
{
"version": 1,
"default_mode": "strict",
"zero_payload_retention": true,
"routes": [
{
"path_prefix": "/pdf-tools/",
"mode": "strict",
"egress": "none",
"artifacts": [
{
"url": "/static/wasm/pdf-inspector.wasm",
"alg": "sha-256",
"digest": "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="
}
]
}
]
}
¶
Servers serving this manifest MUST deliver it over HTTPS with Content-Type: application/json and SHOULD include explicit Cache-Control directives so external reproducibility monitors can track artifact rotation over time.¶
The Client-Only-Processing header is a self-issued technical declaration that becomes trustworthy only when bound to enforceable browser sandbox constraints (Section 4). Implementers and auditors need to account for the following threat vectors [RFC3552]:¶
Client-Only-Processing: mode=strict while omitting Content-Security-Policy: connect-src 'none'. Verifiers MUST NOT trust the header in isolation without validating the accompanying CSP directives.¶
connect-src 'none' blocks fetch(), XMLHttpRequest, WebSockets, and sendBeacon(), script execution can attempt low-bandwidth exfiltration by encoding data into URLs of dynamically injected <img>, <link rel="prefetch">, CSS url() rules, or top-level window.location navigations, or via WebRTC ICE candidate hostnames. High-assurance strict deployments SHOULD pair connect-src 'none' with restrictive img-src 'self' data: blob:, style-src 'self' 'unsafe-inline', and frame-src 'none' directives.¶
Client-Only-Processing to a targeted client IP. Publishing SHA-256 artifact digests in /.well-known/client-only-processing.json enables third-party transparency witnesses and browser extensions to detect inconsistent bundle delivery.¶
Client-Only-Processing guarantee applies strictly to the origin's own document and worker contexts.¶
Per [RFC6973], executing payload transformations strictly on the client eliminates server-side collection, storage, and secondary correlation of user document contents. However, standard HTTP transport metadata -- including the client IP address, TLS handshake parameters, requested application route URL, and User-Agent -- remains visible to the origin server during the initial GET request that fetches the static application shell. Users requiring network-layer anonymity for route access still rely on transport-layer privacy relays (such as Oblivious HTTP or VPNs) orthogonal to this specification.¶
This document proposes registration of the following entry in the "Hypertext Transfer Protocol (HTTP) Field Name Registry" maintained by IANA in accordance with Section 18.4 of [RFC9110]:¶
This document proposes registration of the following suffix in the "Well-Known URIs" registry in accordance with [RFC8615]:¶