logoalt Hacker News

ameliaquiningyesterday at 11:21 PM1 replyview on HN

IIUC the recent high-profile npm backdoors were mostly detected by supply-chain-security firms that ingest all package updates from the registry and look for suspicious code using automated or semi-automated analysis. Dependency cooldowns work great with this kind of thing. I agree that, if malicious packages were mostly detected via user reports, dependency cooldowns would create a prisoners' dilemma.

I don't understand what you're saying about reporting mechanisms; is there something wrong with how this is currently done?


Replies

fy20today at 1:05 AM

Maybe a better way would be to allow third-parties to certify releases, and you can specify only to pull the package once they've given it the green light.

show 1 reply