Malicious code in roblox-api-client (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-6097
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (06fae89087d7a50d6397199d5fe1d5fc925c7c353e72a7f8a84e9aeca08224e6) On `npm install`, postinstall.js fetches http://betterminecraft.fun/nettspend.bat over plain HTTP, writes it to the OS temp directory, and executes it via `cmd /c` on Windows (postinstall.js line 7 hardcodes the URL; line 15 spawns the temp file with `windowsHide: true`). The destination domain is unrelated to the package's stated purpose (a Roblox API client), the URL is mutable and unpinned, no hash or signature verification is performed, and the transport is cleartext HTTP — the operator can swap the served bytes at will. package.json metadata is placeholder-only (`author: your-name`, repo `github.com/your-username/roblox-api-client`), consistent with a hit-and-run squat rather than a legitimate publisher. This is a textbook install-time RCE dropper: any Windows developer running `npm install roblox-api-client` silently executes attacker-controlled code under their user account. ## Source: ghsa-malware (2e462e360d5bce0dd4c26a0b03976f8428da4d202fb5add1c0a9bd16ca5e8546) 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.
- Source published
- 18 Jun 2026 04:07:15 UTC
- Source modified
- 27 Jul 2026 10:08:41 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.