What Are Your AI Coding Tools Training On? A Self-Audit Checklist After Postman Shared API Data and Codex Flipped Its Training Switch
TL;DR: Two 2026-11-04 Hacker News front-page items read together are alarming -- Postman was accused of silently installing AI plugins and trying to share users' entire API data (1352 points), and a user reported OpenAI appears to have re-enabled the training switch on Codex chats (493 points). The code, keys, and chats you hand to AI coding tools were never "local only" (sources: Hacker News front page 2026-11-04; these are community-reported accusations, not vendor announcements, so the post phrases them as "was reported / accused").
Where does the data actually flow
Split the chain before you decide what to defend:
- Telemetry: IDEs and agents by default ship usage stats, crash stacks, even editor-content snippets back to the vendor;
- Cloud model calls: the entire context you send to Copilot, Codex, or any cloud agent -- including
.env, keys, and private repos -- leaves the machine; - Training switch: whether the vendor fine-tunes on your chats. Cloud APIs always carry this risk; local models do not.
One-line rule: a local model on Ollama or llama.cpp keeps data on the machine; any cloud API agent ships the context off the machine. That is not paranoia, it is the physics of the data path.
Step 1: find out who your tool is actually talking to
Do not trust the settings panel that says "cloud disabled". Look at the process real outbound connections. This psutil snippet lists every established TCP connection for a process name and reverse-resolves the host, so one run shows which servers your IDE really reaches:
import psutil, socket
def outbound_of(proc_name):
out = []
for c in psutil.net_connections(kind="tcp"):
if c.status != "ESTABLISHED" or c.raddr is None:
continue
try:
p = psutil.Process(c.pid)
except psutil.NoSuchProcess:
continue
if proc_name.lower() in p.name().lower():
try:
host = socket.gethostbyaddr(c.raddr.ip)[0]
except Exception:
host = "(resolve failed)"
out.append((p.name(), c.raddr.ip, host, c.raddr.port))
return out
# Monitor your IDE / agent process name, e.g. "code" / "cursor" / "jetbrains"
for row in outbound_of("code"):
print(row)
Run: pip install psutil && python audit_egress.py. If the list shows foreign domains you did not expect while you thought you were "coding locally", that is your cue to worry.
Step 2: turn off the telemetry you can
Grep your config for telemetry and data-sharing keys, then confirm each one:
# Search common telemetry / data-sharing keys in your config dirs
grep -rniE "telemetry|shareData|training|dataCollection|usageStats" \
~/.config/Code ~/.cursor ~/.config 2>/dev/null
# Common hard switches (verify against each product docs)
# VS Code: "telemetry.telemetryLevel": "off"
# GitHub Copilot: disable "GitHub Copilot: Enable" in settings, and review "editor.agent"
Watch out: in many tools "disable cloud" only turns off completion; the agent or command mode may still reach out. Audit every mode you actually use, not just the default completion toggle.
Step 3: red lines for keys and sensitive code
The most common agent over-reach is reading a key file along with the workspace. First scan for keys left in plaintext files an agent would read:
# Scan the workspace for keys that may have landed in agent-readable plaintext
grep -rniE "sk-[a-z0-9]{20,}|AKIA[0-9A-Z]{16}|ghp_[a-z0-9]{20,}|xox[bap]-[0-9A-Za-z-]{10,}" \
. --include=*.md --include=*.txt --include=*.json --include=*.env -l
Three hard rules: keys go in environment variables (export or .env that is in .gitignore), never in prompt templates or readable text; review outbound domains before running a cloud agent on a private repo; rotate any key an agent has touched.
Step 4: keep sensitive code on a local model
For core algorithms, keys, and unreleased business code, do not let a cloud agent touch it. Spin up a local code model:
# Local code model -- data never leaves the machine
ollama run qwen2.5-coder:32b
# Or serve via llama.cpp as an OpenAI-compatible endpoint for a local agent
llama-server -m ./qwen2.5-coder-32b-q4.gguf -ngl 99 -c 32768
Trade-off checklist
- Use a local model when you can -- it is the only way to keep data fully on the machine;
- Audit outbound domains before running a cloud agent; do not trust the "disabled" UI label;
- Keys go in env vars, never in prompt files or workspace plaintext;
- Rotate keys an agent has touched, to shrink the leak window;
- Treat "AI helps you write code" and "AI is allowed to take your code" as two separate things: one is productivity, the other you must manage yourself.
Tools help you write code, but that does not grant them the right to take it. Managing the data path as an engineering problem beats deleting accounts after the fact.