VYPR

npm · Malicious package advisory

Malware

dependent-final

GHSA-x23q-jp7q-hjf8

Malicious code in dependent-final (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.3`

Part of a self-republishing campaign: the package ships test.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: 1.0.3; tarball SHA-256 c8be1ce20c77c47e2ab48ca6c0642cc4cc7f259282d463d05b5b241a914c68d4.

---

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

**References:**
- https://github.com/ossf/malicious-packages/blob/96784445b5d8dfec9ef357a890e7db920b562f09/osv/malicious/npm/dependent-final/MAL-2026-18659.json
- https://github.com/advisories/GHSA-x23q-jp7q-hjf8

Compromised versions (1)

  • = 1.0.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.