-
@kozlovzxc found that at least yarn do not check hosts in lock-file and attacker can replace URL in lock file. The attack looks dangerous since many people do not look into lock-file in PRs and check only Do we have the same issue in |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hey 👋 Just to be clear initial research wasn't mine, I've just tried to reproduce this article https://snyk.io/blog/why-npm-lockfiles-can-be-a-security-blindspot-for-injecting-malicious-modules/ cc @snyk |
Beta Was this translation helpful? Give feedback.
-
Yes, I believe pnpm has the same issue. |
Beta Was this translation helpful? Give feedback.
-
Yeah, just checked, it requires a few extra steps (valid SSL), but still works
|
Beta Was this translation helpful? Give feedback.
Yeah, just checked, it requires a few extra steps (valid SSL), but still works