I’d happily use this 2FA bug as an interview question. Show someone the few lines that matter and the type mismatch jumps out. Would I have caught it during a review of the whole login flow? I’m less sure.
AI spotted it. We fixed it and found no evidence it was exploited.
Father, husband, introvert & software nerd.
Principal Engineer @Geocodio. Building Cbox.
Architecture, hosting, open source & good beer. 🍺


