News for hackers. Stuff that matters.
Re:Npm Audit: broken by design? by lmm on Wednesday July 07, 2021 @11:25PM (#27768178)
Other developers have no idea of context either. Unless you have a way of enforcing that certain code is never exposed to user input (and I agree that a build-time-only dependency does solve that), sooner or later it will be.

Accepting regexes from user input is a really insidious class of bug that can go undetected for years. I've seen real outages caused by it, so it's absolutely worth doing something proactive about.

Re:Npm Audit: broken by design? by IsaacSchlueter on Tuesday July 13, 2021 @09:37PM (#27828523)
True story, the npm registry was once taken down (not maliciously, just by accident) by a ReDOS in node-semver. That was extra fun to debug because the failure happened inside of CouchDB.