“Supply Chain Attacks”, 2022-05-09 ():
I just noticed
foreachon npm is controlled by a single maintainer.I also noticed they let their personal email domain expire, so I bought it before someone else did.
I now control
foreachon NPM, and the 36,826 projects that depend on it.
Buy expired NPM maintainer email domains.
Re-create maintainer emails
Take over packages
Submit legitimate security patches that include
package.jsonversion bumps to malicious dependency you pushedEnjoy world domination.