See what your tools send home.
whatleaks runs any command through a local, single-run proxy and shows where its traffic went, which fields it carried, whether any of it is about you, and what it still sends after you opt out.
Open source, MIT. macOS and Linux. It silently missed 3.4% of attempts; mitmproxy missed 38%.
next build8 telemetry requestsDO_NOT_TRACK=1Still sent: 8 → 8Next.js doesn't document this one.NEXT_TELEMETRY_DISABLED=1Stopped: 8 → 0Its documented switch.- Every request named the AI agent that ran the build.
- Two ids, anonymousId and projectId, were the same in a second run.
Measured on 2026-10-21 against Next.js's own debug mode (22 events), and again on 2026-10-24 with 0.1.0 from npm. Source: docs/BENCHMARK.md §4 and docs/e2e §1
$npx whatleaks run -- npm run buildPut it in front of any command. You get every destination, request count and byte, every payload field and redacted samples, and the raw capture as a HAR file only you can read. Needs Node ≥ 22.12. How run works
$npx whatleaks compare -- ./node_modules/.bin/next buildRuns the command twice in fresh processes, first with defaults and then with all 32 documented opt-out variables set, and shows what is still sent. --off-env DO_NOT_TRACK=1 tests one variable; --strict fails CI if a known telemetry endpoint is still contacted. How compare works
Checked against 4 real tools and 46 lab scenarios across the runtimes they use.
DO_NOT_TRACK=1 is set. 8 requests go out anyway.
whatleaks 0.1.0 from npm on next build (Next.js 16.4.2), 2026-10-24. Next.js never says it honours DO_NOT_TRACK; the variable it documents, NEXT_TELEMETRY_DISABLED=1, took telemetry to 0.
$ npx whatleaks compare --no-known-opt-outs --off-env DO_NOT_TRACK=1 -- next build
whatleaks: run 1 of 2 — defaults (opt-out variables removed)
▲ Next.js 16.4.2 (Turbopack) …
whatleaks: run 2 of 2 — opted out (1 variable set)
▲ Next.js 16.4.2 (Turbopack) …whatleaks diff · before "default" (6.4 s, 9 requests) → after "opted-out" (5.8 s, 9 requests) command: next build opted out with: DO_NOT_TRACK The telemetry endpoint was still contacted after opting out. Telemetry requests: 8 → 8 · all requests: 9 → 9
STILL SENDING AFTER OPT-OUT ● POST telemetry.nextjs.org/api/v1/record analytics · Next.js telemetry 8 → 8 requests still sent: context.anonymousId, context.projectId, context.sessionId, events[].eventName, meta.agentName, meta.ciName, meta.cpuCount, meta.cpuModel, meta.cpuSpeed, meta.isCI …+81
PERSISTENT IDENTIFIERS same value in both runs: stored by the app or built into it, so it can link runs together ○ ‹id-1› at context.anonymousId → POST telemetry.nextjs.org/api/v1/record ○ ‹id-2› at context.projectId → POST telemetry.nextjs.org/api/v1/record
$ npx whatleaks compare --no-known-opt-outs --off-env NEXT_TELEMETRY_DISABLED=1 -- next build … The telemetry endpoint stopped after opting out. Telemetry requests: 8 → 0 · all requests: 9 → 1 STOPPED ✓ POST telemetry.nextjs.org/api/v1/record analytics · Next.js telemetry 8 → 0 requests
From one command to a report you can post.
Capture what a tool sends, test its opt-out, read captures from other tools, and share the result without leaking your own details.
Capture
Explore ↗Put it in front of any command. Get every destination, request count and byte, every payload field, and redacted samples.
Compare
Explore ↗Runs your command twice in fresh processes, defaults first and then opted out, and shows what is still sent. The restart is built in.
Read any capture
Explore ↗Every field inventoried and searched for this machine's identifiers. Works on HAR files from whatleaks, browser devtools or mitmproxy.
Share safely
Explore ↗Reports swap your identifiers for labels, secrets for ‹redacted› and ids for aliases. The raw HAR stays on your machine.
It catches what other tools miss silently.
46 lab scenarios with exact ground truth: every client writes each attempt to a ledger before making it, then each tool's output is scored attempt by attempt.
of 594 attempts silently missed on macOS, and 3.0% of 567 on Linux. Every remaining miss is a Go program whatleaks loads no hook into.
Attempts silently missed
Lower is better. Same scenarios, same ground truth: mitmproxy given the environment whatleaks sets, HTTP Toolkit with its own interception.
False attributions
In every run, nothing the app did not send was credited to it.
Planted identifiers found
In every run, 3 of them inside a WebSocket message. None of the 4 decoys was flagged.
Real tools matched
Against each tool's own debug output. HTTP Toolkit matched 4, mitmproxy 3.
Find out what it says about you.
Every payload is decoded and every field inventoried. whatleaks searches each one for this machine's identifiers, raw and hashed, and flags the ids an app keeps between runs.
- None of this machine's identifiers were in the 8 requests from
next build. - Two ids,
anonymousIdandprojectId, were the same in a second run: stored on disk. - Every request named the AI agent that ran the build.
whatleaks report --md on 2026-10-24.Built for the traffic proxies miss.
A proxy sees only what is sent through it. whatleaks also follows the app's processes, hooks the runtimes that ignore proxy settings, and names whatever still goes around. mitmproxy saw none of Turborepo's telemetry; whatleaks saw all 10 events that left.
A CA that lives for one run
A fresh certificate authority per run. Its key stays in memory and its certificate is deleted when the run ends. Your trust store is never touched.
The whole process tree
Child processes are followed, including detached helpers that keep sending after the app exits. --duration and Ctrl-C stop them all.
Hooks for Node, Python and Ruby
Small preloads route clients that ignore proxy settings, like node:http2 and aiohttp, and report each direct socket as it opens.
--no-preload turns them offHow ↗Names what goes around
Connections that skip the proxy are listed by address and process. Pinned clients are named and counted, never broken into.
Every field, inventoried
JSON, NDJSON, form and binary bodies are decoded. 69 known telemetry hosts carry a source link; guesses are marked ?.
Reports you can post
Your identifiers become labels and secrets become ‹redacted›. The raw HAR stays with you, readable only by you.
One command, in front of the one you run.
No account and no setup. Each run makes its own certificate authority, and trust reaches only the app's process tree.
- Every run saves its capture as a HAR file, readable only by you.
--strictexits 1 if a known telemetry endpoint is still contacted, for CI.- Also
npm install -g whatleaksorbrew install devanshranjan10/tap/whatleaks.
# what does my build send? $ npx whatleaks run -- npm run build # long-running or interactive apps: stop after 60 seconds $ npx whatleaks run --duration 60 -- some-dev-server
# does the documented opt-out work? all 32 known variables are set in run 2 $ npx whatleaks compare -- ./node_modules/.bin/next build # test one variable $ npx whatleaks compare --no-known-opt-outs --off-env DO_NOT_TRACK=1 -- ./node_modules/.bin/next build
# a HAR from whatleaks, browser devtools or mitmproxy $ npx whatleaks report capture.har --md report.md # opt-out is a setting, not a variable: two runs and a diff $ npx whatleaks diff whatleaks-on-*.har whatleaks-off-*.har
# fail the job if known telemetry is still sent after opting out $ npx whatleaks compare --no-known-opt-outs --off-env DO_NOT_TRACK=1 --strict -- ./node_modules/.bin/turbo run build # exit 1: a known telemetry endpoint was still contacted, or run 2 failed
What the numbers don't say.
It's our benchmark
We built the lab, and say so. The scripts, every result file and the threats to validity are public, and new scenarios are welcome.
Very short connections from Go
Every remaining miss is a Go program: a connection reset within about 10 ms, or UDP sent with sendto(). The same from Node, Python or Ruby was caught every time.
Pinned apps are named, not read
An app that refuses the run's CA fails that request. whatleaks lists the host and counts it; it never tries to get around pinning.
macOS and Linux
Windows has no process-watching backend yet. GUI apps, Electron apps and browsers are untested.
Frequently asked questions
About trust, privacy, and what whatleaks can't see.
All questions ↗Does it install a certificate or change my proxy settings?
No. Each run makes a fresh certificate authority whose key stays in memory; its certificate goes in a private temp folder that is deleted when the run ends. Trust and proxy settings reach only the app's own process tree, through environment variables and small runtime hooks.
Does whatleaks send my data anywhere?
No: no account, no telemetry, no update check. The only traffic leaving your machine is the app's own, forwarded as it would have gone anyway. Captures stay on your disk, readable only by you.
How is it different from mitmproxy or HTTP Toolkit?
Those are general-purpose interception proxies. whatleaks follows the app's whole process tree, hooks clients that ignore proxy settings, names connections that bypass the proxy, searches payloads for your identifiers and diffs opt-outs. On the same 46 lab scenarios it silently missed 3.4% of attempts; mitmproxy 38%, HTTP Toolkit 67%.
Does DO_NOT_TRACK=1 turn telemetry off?
Only in tools that implement it. Turborepo and Wrangler honoured it; Next.js and Astro kept sending, as their documentation says. Check any tool with whatleaks compare.
Can it read apps that pin certificates?
No, by design. They fail that request, and whatleaks names the host and counts it. It never tries to get around pinning.
Does it work on Windows?
Not yet: there is no process-watching backend there. macOS and Linux are benchmarked.
Find out what your tools say about you.
Needs Node ≥ 22.12, on macOS or Linux. Nothing is added to your trust store, and nothing is sent anywhere but where your command sends it.