# GHSA-X23Q-JP7Q-HJF8: Malicious code in dependent-final (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-05
- Modified: 2026-11-05

## Affected versions

- dependent-final (npm): 1.0.3

## Description

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

Page: https://cve.now/GHSA-X23Q-JP7Q-HJF8

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
