The /.well-known/zero-upload.json Standard
A two-tier verification framework separating empirical zero-upload tools (Tier 1) from browser-enforced Content-Security-Policy: connect-src 'none' applications (Tier 2).
Empirical Zero-Upload Verified
Passes live Multi-Worker CDP Canary-Probe (Target.setAutoAttach({ flatten: true })) with 0 bytes of canary payload transmitted over Fetch, XHR, WebSockets, sendBeacon, Web Workers, or Service Workers, plus Session-Offline pass.
Browser-Enforced CSP Lock
Meets Tier 1 AND ships HTTP header Content-Security-Policy: connect-src 'none', zero third-party trackers, zero tracking cookies, and a valid /.well-known/zero-upload.json manifest.
Full Specification & Copy-Paste Server Headers
# The `/.well-known/zero-upload.json` Open Standard (v1.0)
**Status:** Draft Standard v1.0 (2026-12-02)
**Maintainer:** WebToolTests Observatory (`https://webtooltests.org/standard/`)
**License:** CC0 1.0 Universal (Public Domain)
---
## 1. Abstract
Millions of browser utilities market themselves as "private," "local-first," or "client-side" while silently streaming user audio, images, documents, or keystrokes to remote APIs, WebSockets, Service Workers, or third-party session-replay scripts.
This specification defines:
1. A machine-readable declaration at `https://<origin>/.well-known/zero-upload.json`.
2. A two-tier cryptographic and browser-enforced verification model (**Tier 1: Empirical CDP Proof** and **Tier 2: Browser-Enforced CSP Lock**) that any automated probe, browser extension, or enterprise procurement team can independently audit.
---
## 2. Verification Tiers
### Tier 1 — Empirical Zero-Upload Verified
An application qualifies for **Tier 1** when a live Multi-Worker Chrome DevTools Protocol (CDP) Canary-Probe (`Target.setAutoAttach({ flatten: true })`) observes:
- **0 bytes** of canary payload or derivative signatures transmitted over `Fetch`, `XMLHttpRequest`, `navigator.sendBeacon`, WebSockets (`Network.webSocketFrameSent`), Dedicated Workers, Shared Workers, Service Workers, or embedded iframes during and after file input processing.
- **Session-Offline Pass:** Disconnecting network connectivity after initial shell load (`context.setOffline(true)`) does not break core file processing.
### Tier 2 — Browser-Enforced CSP Seal (`connect-src 'none'`)
An application qualifies for **Tier 2 (Highest Seal)** when it passes all Tier 1 empirical tests **AND** enforces browser-level network isolation via HTTP response headers:
- `Content-Security-Policy` includes `connect-src 'none'` (or strictly `connect-src 'self'` with a verifiable Service Worker offline cache and zero backend upload endpoints), plus `form-action 'none'` (or `'self'`) and `object-src 'none'`.
- Publishes a valid `/.well-known/zero-upload.json` manifest matching its live runtime headers.
- Serves **0 third-party advertising/telemetry trackers** and sets **0 tracking cookies**.
Because `connect-src 'none'` is enforced by the browser engine itself (Chromium, Gecko, WebKit), even a future regression or compromised front-end bundle cannot silently `fetch()`, `XHR`, `WebSocket`, or `EventSource` user files off-device.
---
## 3. Manifest Schema (`/.well-known/zero-upload.json`)
Serve with `Content-Type: application/json; charset=utf-8` and `Access-Control-Allow-Origin: *`.
```json
{
"spec": "https://webtooltests.org/standard/zero-upload/v1",
"version": "1.0",
"tool_name": "Example Local Utility",
"origin": "https://example.org",
"processing_mode": "local_only",
"tier_claimed": 2,
"csp_connect_src": "'none'",
"offline_capable": true,
"third_party_trackers": 0,
"engines": ["WebAssembly", "WebAudio API"],
"source_repo": "https://github.com/org/repo",
"privacy_contact": "security@example.org",
"updated_at": "2026-12-02"
}
```
### Field Definitions
| Field | Type | Required | Description |
|---|---|---|---|
| `spec` | string (URI) | Yes | Must equal `"https://webtooltests.org/standard/zero-upload/v1"`. |
| `version` | string | Yes | `"1.0"`. |
| `tool_name` | string | Yes | Human-readable application name. |
| `origin` | string (HTTPS URL) | Yes | Canonical HTTPS origin hosting the tool. |
| `processing_mode` | enum | Yes | `"local_only"` \| `"hybrid_opt_in"` \| `"cloud_required"`. |
| `tier_claimed` | integer | Yes | `1` (Empirical) or `2` (CSP-Enforced). |
| `csp_connect_src` | string | Yes | Exact `connect-src` directive deployed in production HTTP headers. |
| `offline_capable` | boolean | Yes | `true` if core workflow completes after going offline. |
| `third_party_trackers` | integer | Yes | Declared count of third-party analytics/ad domains (0 for Tier 2). |
| `engines` | string[] | No | Local browser runtimes used (e.g. `WebAssembly`, `WebGPU`, `Canvas 2D`, `WebCodecs`). |
| `source_repo` | string (URL) | No | Public repository URL for reproducible source inspection. |
| `privacy_contact` | string | No | Security/privacy contact email or URL for audit notices. |
| `updated_at` | string (ISO date) | Yes | Date of last manifest verification (`YYYY-MM-DD`). |
---
## 4. Reference Copy-Paste Server Configurations (Tier 2 CSP Seal)
### Cloudflare Pages (`_headers`)
```text
/*
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' blob: data:; media-src 'self' blob:; worker-src 'self' blob:; connect-src 'none'; form-action 'none'; object-src 'none'; frame-ancestors 'none'; base-uri 'self'
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp
Referrer-Policy: no-referrer
Permissions-Policy: camera=(), microphone=(), geolocation=(), interest-cohort=()
/.well-known/zero-upload.json
Content-Type: application/json; charset=utf-8
Access-Control-Allow-Origin: *
Cache-Control: public, max-age=3600
```
### Nginx (`server` block)
```nginx
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' blob: data:; media-src 'self' blob:; worker-src 'self' blob:; connect-src 'none'; form-action 'none'; object-src 'none'; frame-ancestors 'none'; base-uri 'self'" always;
add_header Cross-Origin-Opener-Policy "same-origin" always;
add_header Cross-Origin-Embedder-Policy "require-corp" always;
add_header Referrer-Policy "no-referrer" always;
location = /.well-known/zero-upload.json {
default_type application/json;
add_header Access-Control-Allow-Origin "*" always;
}
```
### Vercel (`vercel.json`)
```json
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' blob: data:; media-src 'self' blob:; worker-src 'self' blob:; connect-src 'none'; form-action 'none'; object-src 'none'; frame-ancestors 'none'; base-uri 'self'"
},
{ "key": "Referrer-Policy", "value": "no-referrer" }
]
},
{
"source": "/.well-known/zero-upload.json",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" }
]
}
]
}
```
---
## 5. Right of Reply & Re-Verification
Every tool listed on `webtooltests.org` receives an open, reproducible JSON recipe (`recipe_sha256`). If a site updates its DOM or adopts Tier 2 CSP headers, maintainers can trigger re-verification or submit a recipe fix via `https://webtooltests.org/standard/#dispute`. Automated probes never emit a punitive `F` grade when a recipe selector goes stale; stale selectors are flagged `RECIPE_NEEDS_UPDATE` and retain their last verified evidence until corrected.
Vendor Right of Reply & Recipe Corrections
WebToolTests.org never assigns a punitive F grade when a site redesign breaks a DOM selector — stale selectors fail safely into RECIPE_NEEDS_UPDATE and preserve prior verified evidence. Sites protected by anti-bot challenges are transparently labeled BOT_CHALLENGE_GATED; our probe never bypasses CAPTCHAs or Turnstile.
Maintainers who have adopted Tier 2 CSP headers, changed upload behavior, or want to update a recipe selector can inspect our public JSON dossiers at /api/v1/tools/{slug}.json and request a re-probe with their exact recipe SHA-256.