Malicious code in uploader-frontend (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12491
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (434cb8e84402c02f52788e51215db45b8c7f2f229d56c51d8302993b782cf911) The package's `scripts.install` runs `node index.js`, which loads `./lib/core` and, on `npm install`, collects the installer's OS username (via `os.userInfo().username`), hostname (`os.hostname()`), and current working directory basename, encodes them as a subdomain, and issues a `dns.resolve4` lookup against the hardcoded attacker domain `oob.sl4x0.xyz` — a DNS out-of-band beacon that exfiltrates installer identity. The `require` targets (`dns`, `os`, `process`), the API names (`userInfo`, `username`, `hostname`, `cwd`, `resolve4`), and the destination domain are reconstructed at runtime from `String.fromCharCode` numeric arrays to hide the destination and the APIs used. Package name and README advertise `uploader-frontend` / enterprise utilities and validation, but the auto-executed code implements no such functionality — only the beacon. The `author` email `[email protected]` shares the domain of the exfil host, and `homepage` points at an unrelated project (`github.com/slaxorg/nms-dashboard-js`), indicating publisher-controlled attacker infrastructure.
- Source published
- 5 Aug 2026 13:06:25 UTC
- Source modified
- 5 Aug 2026 13:36:23 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.