A Windows 11 telemetry component logs which AI coding agents you run — and, according to security researcher Xusheng Li, that record goes to Microsoft as optional diagnostic data. The finding, published on Monday (16/11), reached the front page of Hacker News. Microsoft has not commented, and the scope of the feature is unknown — treat what follows as one independent researcher's work, not an official confirmation.
How the logging works
Li, who works on Binary Ninja (Vector 35), asked an AI to look for undocumented features in recent Windows binaries. One lead was a list of executable names inside MissionControlAggregator.dll, loaded by the AggregatorHost.exe process, started by the DiagTrack telemetry service. The component has four slots for command-line agents — copilot.exe, claude.exe, codex.exe and agy.exe — and five for desktop agents — github.exe, claude.exe, codex.exe, cursor.exe and antigravity.exe — plus twelve broader developer-tool categories, such as Node, Python, .NET, GCC, Clang, Java and Visual Studio. The flag CLICodingAgentUsage (id 62580080) guards the feature.
The component does not scan your processes: it subscribes to events Windows already emits — application state summaries, interactivity summaries and WSL execution events — and compares only the executable name. Each match sets a bit in a bitmap; about once a day, the component emits the Segments.SubCohorts report. Li proved the mechanism in practice: he copied cmd.exe to a file named codex.exe and ran it — the name alone was enough to set the Codex bit, with the report recording CliAgentSubCohorts: [4] (1 << 2). The report contains no prompt text or source code, and, on Li's reading, run time and focus time are discarded: all that remains is which tools were seen.
Where the report goes
The sensitive point is where the report goes. Li found the event in DiagTrack's upload queue marked isRequired: false — that is, optional diagnostic data. On a clean Windows 11 Home ARM64 install (United States region), sending optional data was already enabled by default (AllowTelemetry set to 3). Li ran the tests on a single ARM64 virtual machine, build 26200.9974, and saw the report in the upload queue — he did not capture the data leaving the machine. It is unknown how many PCs have the feature active or what Microsoft uses it for.
To switch off Windows 11 telemetry, open Settings > Privacy & security > Diagnostics & feedback and switch off “Send optional diagnostic data”. Note that required diagnostic data stays on in Home and Pro — only the per-agent report is optional — and nobody has yet published a test with the switch off. Geekiki also covered another Windows 11 discovery this week, the FastUnlock flaw, which uses Narrator to bypass the lock screen.
Image credit: Windows 11 logo, via Wikimedia Commons. Author: Microsoft. License: public domain (PD-textlogo); the logo is a registered trademark of Microsoft.
Sources: Xusheng Li (pesquisa original); CybersecurityNews; The Daily Diff (dev.to)
Transparency: this article was produced with the assistance of artificial intelligence, based on cross-checking public posts on X and internet sources, and reviewed editorially before publication. The information attributed to the researcher has not been confirmed by Microsoft. Please consult the original sources to verify the facts.
By Muse