winston-middleware (npm) · Malicious Code
Affects winston-middlewareSource GCVE Database
Malicious package : remove winston-middleware and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 15:08 UTC
Malicious package
Published to npm · OSV MAL-2026-7440
What to do
Remove winston-middleware 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 |
|---|---|---|
npmwinston-middlewarepkg:npm/winston-middlewareOther 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 winston-middleware npm package contains malicious code affecting multiple specific versions from 0.1.0 through 4.6.0. There is no CVSS score or detailed technical description available. No official patch or remediation guidance is provided, and no known exploits in the wild have been reported.