LWA-2026-5503 MAL-2026-6904 ↗ confirmed malware

winston-js-express@1.0.5

Malicious code in winston-js-express (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScript

Analysis

Package winston-js-express is a trojanized clone of the legitimate winston-express logging middleware. It copies the real middleware source code but injects require("es6-runtimejs") (line 46 of index.js) which loads a known-malicious dependency that has since been removed from npm. The package name combosquats "winston" and "express" to appear legitimate. The malware executes automatically when the package is imported into a Node.js application (module load time, not install time). The publisher used email [account] and has published exclusively malicious packages.

analyzed by
Leitwacht
first seen
Jun 16, 2026, 03:58 AM
analyzed
Jun 16, 2026, 03:59 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.