VYPR

npm · Malicious package advisory

Malware

wet_rat_replicate_automation

GHSA-gp2j-hp5w-f4vf

Malicious code in wet_rat_replicate_automation (npm)

Details

**Severity:** Critical

**Affected versions:** `= 2.3.1`

Part of a self-republishing campaign: the package ships autopublish2.js, which in a loop gives the package a new random name, bumps its version, rewrites package.json and runs `npm publish` to publish the package again under the new name. Self-replicating publication is the propagation step of a registry worm and fills the registry with copies. Version examined: 2.3.1; tarball SHA-256 4e7250a12081880b7781ba4a3a0c912fa5347bbbcb3046b039c7459f284085de.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/96784445b5d8dfec9ef357a890e7db920b562f09/osv/malicious/npm/wet_rat_replicate_automation/MAL-2026-18668.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/96784445b5d8dfec9ef357a890e7db920b562f09/osv/malicious/npm/wet_rat_replicate_automation/MAL-2026-18668.json
- https://github.com/advisories/GHSA-gp2j-hp5w-f4vf

Compromised versions (1)

  • = 2.3.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.