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

> we run our own npm server because we can't trust dependency attacks in the js ecosystem

What does this mean? Your deps get locked down with sha1(?) checksum automatically after you install your packages (unless you go out of your way to delete the lock file). Must be a valuable startup you have for someone to attack your build with a hash collision..




No it's to mitigate "leftpad" style attack vector.


Then don't delete your lock-file and the vector doesn't exist?

Rolling your own package management solution because understanding the existing tools is too hard.. That is peak "javascript sucks and I'm going to comment about it" energy lol.


I'm not fully clear what you mean by don't delete lock file when the problem is the open source developer decides to unpublish their npm package




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: