TLDR
At Superhuman, we make the fastest email experience in the world. We use regular expressions to process massive amounts of text very rapidly. When regular expressions go wrong, they go devastatingly wrong. Superhuman has accidentally become vulnerable to regular expression denial of service (ReDoS) The problem started after we changed our regular expression to:/("[^"]*"|[^@]*@[#]#) Superhuman is using 100% CPU and not responding…”via the TL;DR App
no story
Written by conradirwin | Co-Founder & CTO of Superhuman. Programmer, Blogger, Speaker, Dancer.