LWA-2026-13651 confirmed malware

inadequate_earwig_magenta-66@3.4.3

Malicious code in inadequate_earwig_magenta-66 (npm)

T1195.002 · Compromise Software Supply ChainT1059 · Command and Scripting InterpreterT1565.001 · Stored Data ManipulationT1036 · Masquerading

Analysis

This package is an auto-publish tool: requiring it (its main entry, autopublish.js, executes on load) silently rewrites the installING project's package.json and package-lock.json — generating a fake random package name (e.g. a fruit/vegetable word plus random characters plus the suffix "-notthedevs", or adjective-animal-color combinations), assigning a random version between 1.1.1 and 4.4.4, and removing the "private": true flag — then runs `npm publish --access public` in an endless loop with 10-second to 5-minute delays between publishes. Autopublish2.js and autopublish3.js are variants of the same routine. The consequence for a host project is that its manifest and lockfile are permanently overwritten and it is republished to the public npm registry under an attacker-chosen name and an arbitrary version number, using whatever npm credentials are available in the environment. No external network endpoint, credential file read, or downloaded payload is present in the code; the only outbound traffic is npm's own publish command.

analyzed by
Leitwacht
first seen
Nov 4, 2026, 09:05 AM
analyzed
Nov 4, 2026, 09:08 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.