npm · Malicious package advisory
Malwaredependent-final
MAL-2026-18659
Malicious code in dependent-final (npm)
Details
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.
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.