npm · Malicious package advisory
Malware@tvg-mar/promos-context
MAL-2026-16412
Malicious code in @tvg-mar/promos-context (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## 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. ## Source: ghsa-malware (dca78d37da363541ab3826253dc16208eb1987642488220f4d6d8f21c9e1dd72) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
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.