I found this in our benchmark corpus, extracted verbatim from Cal.com's Make integration setup (~44K GitHub stars):
const apiKey = `cal_live_${Math.random().toString(36).substring(2)}`;
Enter fullscreen mode
Exit fullscreen mode
An attacker who observes a handful of these keys can predict the next one. That is not a theoretical risk — it is a consequence of how Math.random() works. And this pattern is everywhere.











