I don’t think any LLM would miss the use of Math.random where a cryptographic random should be used. Then again, I don’t think I know any programmers that would miss it. It’s not some advanced concept. It’s security 101 stuff.
I had code using math.random() to generate passwords introduced into my codebase, written by opus 4.6 in Febuary 2026, and not found until November 2026
I had code using math.random() to generate passwords introduced into my codebase, written by opus 4.6 in Febuary 2026, and not found until November 2026