# proof: cookies (mutation check) date: 2026-11-07T23:46:10Z commit: 8922699c4c6080791fb515848fe36fd4d4476157, with the planted change below in proxy.ts (not committed) command: npm run build && npm run proof:cookies expected: exit 1 naming visit_id, and nothing else planted change (the proxy sets a cookie the privacy page does not name): diff --git a/proxy.ts b/proxy.ts index 3d81f2a..37d569f 100644 --- a/proxy.ts +++ b/proxy.ts @@ -44,7 +44,9 @@ export default function proxy(request: NextRequest) { url.pathname = `/${lost}/missing`; return NextResponse.rewrite(url, { status: 404 }); } - return intl(request); + const res = intl(request); + res.cookies.set("visit_id", "1"); + return res; } export const config = { output: server: next start on http://localhost:3229 (local production build), DATABASE_URL at db.invalid browser: Chrome/157.0.8103.38; node: v26.13.0 pages opened: 128 (16 routes x 8 languages) language menu: /en/forum -> /es/forum theme toggle pressed twice: yes cookies in the browser (all domains): 2 visit_id = 1 domain=localhost path=/ httpOnly=false sameSite=none NEXT_LOCALE = es domain=localhost path=/ httpOnly=false sameSite=Lax localStorage keys on http://localhost:3229 (compare with Privacy.device.storage): theme ## Result FAIL: 1 finding(s) cookie: visit_id is not on the privacy page exit: 1