npm · Malicious package advisory
Malwareinadequate_earwig_magenta-66
GHSA-628r-xfpw-6m2c
Malicious code in inadequate_earwig_magenta-66 (npm)
Details
**Severity:** Critical **Affected versions:** `= 3.4.3` Part of a self-republishing campaign: generated names of the form <adjective>_<animal>_<colour>-<number>, each package shipping the same autopublish.js, which runs `npm publish --access public` to publish the package again. Self-replicating publication is the propagation step of a registry worm and fills the registry with copies. Version examined: 3.4.3; tarball SHA-256 cdf7bcc56962d977f34fdb72789ce2b6aaac0020f0debb9ce4d55de8257ac352. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/65d7c0b05e1069e74e09136ec74ac3530ebad741/osv/malicious/npm/inadequate_earwig_magenta-66/MAL-2026-18611.json)) **References:** - https://github.com/ossf/malicious-packages/blob/65d7c0b05e1069e74e09136ec74ac3530ebad741/osv/malicious/npm/inadequate_earwig_magenta-66/MAL-2026-18611.json - https://github.com/advisories/GHSA-628r-xfpw-6m2c
Compromised versions (1)
- = 3.4.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.