Malicious code in @rbx-ts/services (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13630
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9476bbe7c2ce12348142e93deffe53c9d4d6dfef3400030af81cff902bac5935) This package impersonates the @rbxts/services Roblox typings library and re-exports its public API in index.js as cover. Its postinstall script (scripts/postinstall.js) is gated to win32 and uses \x hex escapes to hide the strings 'child_process', 'spawn', 'powershell', and related identifiers. It spawns a hidden PowerShell process with -ExecutionPolicy Bypass, passing a base64-encoded body that decodes to an AMSI bypass (patched via reflection with strings split across variables to evade signature scanning), downloads a binary from https://files.catbox.moe/a3loxy.bin, allocates RWX memory via VirtualAlloc with protection 0x40, copies the downloaded bytes into it, and executes them via CreateThread. Installing this package on Windows results in arbitrary attacker shellcode executing in the installer's process on `npm install`.
- Source published
- 8 Aug 2026 00:47:57 UTC
- Source modified
- 10 Aug 2026 12:50:25 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.