All 4,799 reports

NoCopilot · 20 Feb 2025

It silently reset 2FA settings for ~3k users with OAuth accounts because it didn't handle NULL vs empty string edge cases in our legacy DB schema

Kappa90 on Hacker News

~3k users

In the thread “Ask HN: Worst bugs from LLM-generated code in production?”

Got in the way: Failed to handle NULL vs empty string edge cases.

Used Copilot to write a user auth migration script. It silently reset 2FA settings for ~3k users with OAuth accounts because it didn't handle NULL vs empty string edge cases in our legacy DB schema. Classic "garbage in, garbage out" situation. …