VYPR

npm · Malicious package advisory

Malware

@tvg-mar/promos-context

GHSA-gmpx-wq8f-4q86

Malicious code in @tvg-mar/promos-context (npm)

Details

**Severity:** Critical

**Affected versions:** `= 9.9.10`

## Source: amazon-inspector (68c9eeb2e4516c9cab13b7e00458e54cccac15ab6c28eda25b2138ceeeab60f3)
The package's `install` lifecycle script runs `node index.js`, which loads `runtime/support/telemetry/probe/impl.js`. On every `npm install`, that module dynamically resolves the `os` and `dns` core modules via `module.constructor._load` with char-code-obfuscated names, reads `os.userInfo().username`, `os.hostname()`, and the basename of `process.cwd()`, and encodes them as DNS labels in a `dns.resolve4` query to `oob.algamil7x.xyz`. The destination domain is reconstructed at runtime from a hex char-code array in `runtime/support/telemetry/probe/d4c8a1.js` / `e5d9b2.js` rather than appearing as a plain string. The combination of an install-time hook, obfuscated core-module loading, obfuscated destination, and DNS-tunnel encoding of installer identity fields is a classic install-time exfiltration beacon.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/76398e59725721b4b1829aff3872e1f7fe84dabb/osv/malicious/npm/@tvg-mar/promos-context/MAL-2026-16412.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/76398e59725721b4b1829aff3872e1f7fe84dabb/osv/malicious/npm/@tvg-mar/promos-context/MAL-2026-16412.json
- https://www.npmjs.com/package/@tvg-mar/promos-context/v/9.9.10
- https://github.com/advisories/GHSA-gmpx-wq8f-4q86

Compromised versions (1)

  • = 9.9.10

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