Internet-Draft Client-Only-Processing Header November 2026
Ayoub Expires 2 June 2027 [Page]
Workgroup:
Individual Submission
Internet-Draft:
draft-ayoub-http-client-only-processing-00
Published:
Intended Status:
Informational
Expires:
Author:
I. Ayoub
Utilvo

The Client-Only-Processing HTTP Response Header Field for Verifiable Zero-Upload Web Applications

Abstract

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.

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 2 June 2027.

▲

Table of Contents

1. Introduction

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:

2. Conventions and Definitions

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].

User Payload:
Any file, byte stream, clipboard buffer, media capture, or form input supplied locally by the end user into a browsing context after document load.
Zero-Upload Execution:
Execution in which no raw, partial, or derived bytes of a User Payload are transmitted over any network transport initiated by the browsing context or its associated workers.

3. The Client-Only-Processing HTTP Response Header Field

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

3.1. Defined Dictionary Keys

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):
Indicates the permitted network egress scope during active document lifetime. Defined tokens are none (default when mode=strict) and same-origin-static.
sri (Boolean, OPTIONAL):
When ?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):
When ?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):
A root-relative path beginning with "/.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.

3.2. Example HTTP Response

An origin serving a zero-upload document inspector under strict egress lockdown sends:

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Client-Only-Processing: mode=strict, egress=none, sri=?1,
  isolated=?1,
  manifest="/.well-known/client-only-processing.json"
Content-Security-Policy: default-src 'self'; connect-src 'none';
  form-action 'none'; object-src 'none'; base-uri 'none'
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp

4. Client and Auditor Verification Procedure

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:

  1. Parse the 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.
  2. Ensure the response was delivered over an authenticated TLS connection (https scheme) or a trustworthy local loopback origin. Assertions over cleartext HTTP MUST be rejected.
  3. Inspect the effective Content-Security-Policy header(s) delivered with the response:

    • If 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.
    • If 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.
  4. If 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.
  5. Monitor or audit runtime APIs (such as 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.

5. Well-Known Attestation Manifest

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.

6. Security Considerations

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]:

7. Privacy Considerations

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.

8. IANA Considerations

8.1. HTTP Field Name Registration

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]:

Field Name:
Client-Only-Processing
Status:
provisional
Structured Type:
Dictionary
Reference:
This document (Section 3)
Comments:
Declares verifiable client-local zero-upload payload processing invariants.

8.2. Well-Known URI Registration

This document proposes registration of the following suffix in the "Well-Known URIs" registry in accordance with [RFC8615]:

URI Suffix:
client-only-processing.json
Change Controller:
Islam Ayoub (info@utilvo.com)
Specification Document:
This document (Section 5)
Status:
provisional

9. References

9.1. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC8615]
Nottingham, M., "Well-Known Uniform Resource Identifiers (URIs)", RFC 8615, , <https://www.rfc-editor.org/info/rfc8615>.
[RFC9110]
Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Semantics", STD 97, RFC 9110, , <https://www.rfc-editor.org/info/rfc9110>.
[RFC9651]
Nottingham, M. and P-H. Kamp, "Structured Field Values for HTTP", RFC 9651, , <https://www.rfc-editor.org/info/rfc9651>.
[W3C-CSP3]
West, M. and A. Sartori, "Content Security Policy Level 3", W3C Working Draft CSP3, , <https://www.w3.org/TR/CSP3/>.
[W3C-SRI]
Akhawe, D., Braun, F., Marier, F., and J. Weinberger, "Subresource Integrity", W3C Recommendation SRI, , <https://www.w3.org/TR/SRI/>.

9.2. Informative References

[AYOUB-2026]
Ayoub, I., "Privacy-Preserving Client-Side Information Processing in Isolated Browser Sandboxes", , <https://utilvo.com/research/privacy-preserving-client-side-information-processing>.
[RFC3552]
Rescorla, E. and B. Korver, "Guidelines for Writing RFC Text on Security Considerations", BCP 72, RFC 3552, , <https://www.rfc-editor.org/info/rfc3552>.
[RFC6973]
Cooper, A., Tschofenig, H., Aboba, B., Peterson, J., Morris, J., Hansen, M., and R. Smith, "Privacy Considerations for Internet Protocols", RFC 6973, , <https://www.rfc-editor.org/info/rfc6973>.
[W3C-WASM]
Rossberg, A., Ed., "WebAssembly Core Specification Version 2.0", W3C Working Draft wasm-core-2, , <https://www.w3.org/TR/wasm-core-2/>.

Author's Address

Islam Ayoub
Utilvo