Microsoft Defender forwarded a developer's unreleased code to Redmond 217 times, and the off switch switched itself back on
Microsoft Defender's automatic sample submission uploaded a developer's unreleased programs, and the opt-out re-enabled itself
The market's verdict: -2.0% on MSFT in the week after.
What actually happened
Microsoft Defender's cloud protection uploaded a developer's privately built software to Microsoft for roughly three months without ever asking. Windows event logs show 217 sample submissions between August and November 2026 — 201 of them fresh builds of one unreleased Go test program — with MpCmdRun.exe sending 224 MB to Azure blob storage in a single day and Windows' own per-app stats recording 2.8 GB uploaded over 30 days. Each submission was logged in Defender's Operational event log (Event 2050) with filenames and SHA-256 hashes, including a Python script from the Recycle Bin; 85 support-log entries even contained full curl and PowerShell command lines with the author's username and project folder names. On October 28 the author disabled the feature (Set-MpPreference -SubmitSamplesConsent 2); two hours later Event 5007 showed the setting silently reverted to 'send safe samples automatically', and 25 more submissions followed. Microsoft documents the default — 'safe' means unlikely to contain personal data, not user-approved — and disabling it also disables cloud 'block at first sight' protection.
This one is well documented.
Were you affected? Unbreak it
Stop Defender from uploading your files — and check it stuck
In an elevated PowerShell: Set-MpPreference -SubmitSamplesConsent 2 ('2' = never send). Verify with Get-MpPreference | Select-Object SubmitSamplesConsent — it should print 2. Know the trade-off: the same switch feeds Defender's cloud 'block at first sight' protection, so turning it off slows defence against brand-new threats. Re-check after feature updates: on the machine in this story the setting silently reverted to 'send safe samples' two hours after being turned off.
Links
-
Context
- Nov 11, 2026 · Garrett Stimpson (blog) (publication)
- Nov 12, 2026 · Privacy Affairs (publication)
- Nov 12, 2026 · Hacker News (community)
↳ caused by SubmitSamplesConsent — automatic sample submission ('send safe samples', default on)
Timeline
- Oct 28, 2026 They decided it
- Nov 11, 2026 Discovered Went unnoticed for 14 days.