Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's an attractive target. Other ecosystems (maybe besides Rust) rely on large packages with minimal dependencies, and those packages are often first-party (Entity Framework, for example).

NPM meanwhile is a neverending net of tiny oneliner packages, required by other oneliner packages, required by twoliner packages, required by single-function packages, required by... required by React. And thus, adding malware to `is-number` adds it to all 8766235452 packages that depend on it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: