Malicious npm preinstall lifecycle hook
Named by 3 kept items in this workspace.
Search every workspace for Malicious npm preinstall lifecycle hook. It matches the name as written, so it can find other things that share it.
The items that name it 3
"preinstall": "node setup.mjs" added to package.json runs automatically during dependency installation without requiring the package to be imported or executed
A 4.2 MB obfuscated JavaScript payload executes during npm install via the preinstall hook, before any application code runs
Modified package.json adds "preinstall": "node setup.mjs" to execute code automatically before application code runs during npm install
All techniques in this workspace.