lint-prettier (npm) · Malicious Code
Affects lint-prettierSource GCVE Database
Malicious package : remove lint-prettier and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 11:08 UTC
Malicious package
Published to npm · OSV MAL-2026-7312
What to do
Remove lint-prettier from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmlint-prettierpkg:npm/lint-prettierOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The lint-prettier npm package version 1.0.4 contains malicious code. This is identified as a malicious package threat without detailed technical or impact information provided. There is no information on patches or fixes available. No active exploits in the wild have been reported.