Illustration: a blank settings window outline, four blank small squares in a row, an eye outline, and a coffee mug on a desk
Illustration

The detail that stopped me was a renamed file. Security researcher Xusheng Li, who works on Binary Ninja, took a copy of cmd.exe, renamed it codex.exe, and ran it on a Windows 11 virtual machine. That was enough. A flag for Codex flipped on inside the system, and a telemetry report later showed a value of 4 under a field called CliAgentSubCohorts. He did not run Codex. He did not install anything. He renamed a stock Windows binary to match a name on a list, and Windows noticed.

Li shared the first finding on X on November 16, 2026, then published a full technical write-up. Cyber Security News reported it on November 17. I read the report, and the shape of it is what makes it worth writing about: this is not a leak of prompts, and it is not a keylogger. It is something smaller, quieter, and harder to dismiss — the operating system keeping a yes-or-no record of which AI coding tools you use, and sending that record to Microsoft as optional diagnostic data.

Here is what Li found, as the report describes it. A built-in Windows component, MissionControlAggregator.dll, carries a list of executable names. On it are two lists, not one: four command-line slots check copilot.exe, claude.exe, codex.exe, and agy.exe, and five desktop slots check github.exe, claude.exe, codex.exe, cursor.exe, and antigravity.exe — alongside ordinary developer tools like python.exe, dotnet.exe, gcc.exe, and code.exe. A feature flag called CLICodingAgentUsage guards the checks. The DLL does not scan your running programs, which matters for how alarmed to be. It listens to events Windows already generates, such as KernelProcess.AppStateChangeSummary and Win32kTraceLogging.AppInteractivitySummary, and it also reads WSL launch events. A normal Windows copy of codex.exe can trigger a match, so the check is not limited to Linux tools running under WSL.

When a name matches, the component sets a bit in its saved state. Later it sends a report called Segments.SubCohorts through Event Tracing for Windows. What the report holds is the part I keep coming back to, because it is both reassuring and not. It holds only yes-or-no flags — you ran this tool, you did not run that one. It does not hold runtime, focus time, or prompt text. Your code is not in it. Your prompts are not in it. What is in it is the list itself: which agents a developer uses. And a list of the tools on a developer's machine is the kind of thing that looks harmless in a vacuum and stops looking harmless the moment you ask who else would want it.

Li did not stop at the local event, and that is the part that separates this from a curiosity found in a DLL. A local log proves nothing by itself; plenty of Windows components record things that never leave the machine. So he checked whether the report actually travels. He found that a DiagTrack listener was subscribed to the report, and that the report appeared in DiagTrack's upload queue, marked as not required. That marking is the tell. In Microsoft's own taxonomy, "not required" means optional diagnostic data — the tier you can switch off, the tier Microsoft's diagnostics and privacy guide says your device does not need in order to stay secure and work normally.

Which raises the question that decides whether this is a story or a footnote: is it on by default? The honest answer, from the evidence available, is that it depends on the machine in front of you. Li tested on a Windows 11 ARM64 virtual machine on build 26200.9974, where the feature was already on and the DiagTrack service was running. On a clean US install of Windows 11 Home, optional diagnostic data was on by default and AllowTelemetry was set to 3. But a baseline VM built from the public ISO had the coding-agent feature off. So this is not proven to be active on every Windows PC, and anyone writing it up as universal would be overstating the finding. What is fair to say is narrower and still worth your attention: on at least some real installs, the default setting collects this, and the switch that controls it is one most developers have never opened.

That switch is worth opening now, whatever your feelings about Microsoft's telemetry in general. Open Settings, then Privacy & security, then Diagnostics & feedback, and look at Send optional diagnostic data. If it is on, turning it off stops this category of reporting, and Microsoft's own guide says the machine keeps working normally with only required data. One caveat, also from the report: managed work PCs may hide the setting, so if you are on a company machine, your IT team controls this and you should check your own policies rather than assuming the toggle is yours to flip. I checked my own machine before writing this, which is the kind of sentence I would normally cut as throat-clearing, but here it is the whole point — the check takes about twenty seconds, and the alternative is not knowing.

Why should a developer care about a yes-or-no list at all? Because of what the list points at. Cyber Security News notes, in the same report, that info-stealing malware already targets Claude, Cursor, and Codex data saved on developer machines, and that it has covered new threats against AI coding tools that steal credentials. A record of who uses which agent is not a secret key. It does not open anything by itself. But it is a map of where the valuable things sit — which machines hold agent configurations, which hold the tokens and the cloud credentials and the production access that make a developer's laptop worth more to an attacker than a random endpoint. The coding agent is the new front door to a developer's work, and a list of front doors is useful to exactly the people you would least want holding it. That is a risk argument, not a proven incident, and I want to keep those two things apart: nobody has shown this telemetry being abused. The case for checking the setting is that the data exists, it leaves the machine, and its purpose has not been explained.

Microsoft has not yet explained why it collects this data. That silence is doing a lot of work in this story, and it cuts both ways. The plausible benign explanation, which the report itself raises, is product planning: Windows is adding more agent features, and knowing which agents developers already run is useful for deciding what to build next. That is a real reason, and it is also a reason that could have been stated in a changelog or a privacy note instead of being discovered by a researcher poking through a DLL with an AI helper. The distinction between collecting data for a stated purpose and collecting it quietly is not a technical distinction. It is the whole distinction, and it is why a finding like this travels: developers will tolerate a surprising amount of telemetry when they are told about it, and almost none of it when they find out secondhand.

There is a second, more personal reason this one landed with me. I spent the last year writing about the trust boundary around these tools — which agent to pick, what the free tier actually covers, what to do when an extension marketplace serves you a tampered build. Every one of those pieces assumed the trust boundary sat between me and the tool vendor: Anthropic, OpenAI, Cursor, GitHub. This finding moves the boundary one layer down. The operating system itself is now a party to the question of which agent I use, and it answers that question without asking me. The tools have not changed. The machine underneath them has.

So the practical takeaway is small, and I would rather leave it small than inflate it into a scare. Check the setting. If optional diagnostic data is on and you do not want Microsoft holding a list of your coding agents, turn it off. If you are on a managed machine, ask your IT team what the policy is. Keep using whichever agent fits your work — nothing in this finding says anything bad about Claude Code, Codex, Copilot, or Cursor themselves, and the report is clear that the collected flags contain no prompts, no code, and no timing data. What the finding does say is that the list exists, that it travels, and that Microsoft has not said why. Until the company speaks, the twenty-second check is the whole of the response, and it is enough.

About the author

Marcus Kim is a full-stack developer based in Boston, MA. Dev Day Notes is his field notebook of dev tools, coffee, and games. More about Marcus →

← Back to all posts