npm · Malicious package advisory
Malware@factoryz/apollo
GHSA-8wg4-rwxf-cv7v
Malicious code in @factoryz/apollo (npm)
Details
**Severity:** Critical
**Affected versions:** `= 99.9.1`
## Source: amazon-inspector (5adaa62818c76a10cbf0b536a6854633e24a73028c803fc597c5b5ec1d78b8ad)
The package ships only an empty stub (`module.exports = {}`) and a manifest whose sole dependency `ltidisafe` is resolved from a hardcoded off-registry HTTPS URL (`https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.8.7.tgz`) rather than a registry version range. `npm install @factoryz/apollo` fetches whatever bytes that URL returns and installs them, executing any lifecycle scripts (preinstall/install/postinstall) contained in the fetched tarball. There is no version pin, no integrity (`sshasum`) check, and no publisher binding — the host controller can swap the tarball contents at any time. The version number `99.9.1` is implausibly high for a package whose shipped code is a one-line stub, consistent with a dependency-confusion / resolution-winning shape. The lure package itself contains no other logic; the manifest IS the payload.
---
Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b711d7c76f98b5044512e8c851547e8a05b2f959/osv/malicious/npm/@factoryz/apollo/MAL-2026-18278.json))
**References:**
- https://github.com/ossf/malicious-packages/blob/b711d7c76f98b5044512e8c851547e8a05b2f959/osv/malicious/npm/@factoryz/apollo/MAL-2026-18278.json
- https://www.npmjs.com/package/@factoryz/apollo/v/99.9.1
- https://github.com/advisories/GHSA-8wg4-rwxf-cv7vCompromised versions (1)
- = 99.9.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.