Ask HN: Worst bugs from LLM-generated code in production?
Let's hear about when these "magical" coding assistants actually burned you in production. Copilot, ChatGPT, Claude, whatever - what's the worst bug that made it past review and how much damage did it do?
Bonus points for security vulnerabilities and midnight incident reports.
3 comments
[ 1.9 ms ] story [ 15.5 ms ] threadFound out two weeks later when angry users couldn't log in during peak hours. Damage: 4 hours of downtime, one very grumpy security team, and a new "no AI for auth code" policy.
now that I think about it, LLMs are so useless for the security code. You can't even show an LLM a code which your wrote and ask it to break it, it will reply with something like "hacking is a big no-no around here"
I asked ChatGPT for an ansible playbook to wipe the hard drives with zeros completely (I know the dd command to achieve it, I was just curious what approach would it advise). ChatGPT replied with a firm "no" to this request, I've canceled my subscription after that