Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jakubmazanec
11 months ago
|
parent
|
context
|
favorite
| on:
eslint-config-prettier npm package compromised
One thing Npm should implement (at least for popular packages) is deny publishing new versions that don't have provenance [1] if the previous versions had it. This would have stopped this attack.
[1]
https://docs.npmjs.com/generating-provenance-statements
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1] https://docs.npmjs.com/generating-provenance-statements