MAL-2026-13630Malicious code in @rbx-ts/services (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @rbx-ts/services | 1.6.0 |
| npm | @rbx-ts/services | 1.6.1 |
| npm | @rbx-ts/services | 1.6.2 |
{"schema_version":"1.7.4","id":"MAL-2026-13630","published":"2026-08-08T00:47:57Z","modified":"2026-08-10T12:26:44.954543907Z","summary":"Malicious code in @rbx-ts/services (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9476bbe7c2ce12348142e93deffe53c9d4d6dfef3400030af81cff902bac5935)\nThis 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`.\n","affected":[{"package":{"name":"@rbx-ts/services","ecosystem":"npm"},"versions":["1.6.0","1.6.2","1.6.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"scripts/postinstall.js","sha256":"af2a3ec64c75eec719b07d98183f390f18ff63021b67d832729e28adfbe37ba0","tlsh":"67412fd971d5632b23ec08e3f5156ae985e79e12b0cab883c36c7e4d08e904fc6e19c5"}],"package_integrity":[{"filename":"services-1.6.0.tgz","hashes":{"sha1":"cbb5f3757708a5d3f71a44f63c5d83d829b58744","sha512_sri":"sha512-PF6HVUS7ZgAkXwukJpT63sw3DeUU+XrbVchIGFupy/qHc053NfRim0OqIp617MSx9F1S70/UiyRpWHYseTGrIA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@rbx-ts/services/v/1.6.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@rbx-ts/services/v/1.6.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@rbx-ts/services/v/1.6.1"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017169","import_time":"2026-08-08T00:53:08.316135645Z","modified_time":"2026-08-08T00:47:57Z","sha256":"22a1774c78b52b3d507d305227a1a258795a4e68d52b8366e0010c5d0bb80126","source":"amazon-inspector","versions":["1.6.0"]},{"id":"IN-MAL-2026-017253","import_time":"2026-08-10T12:24:46.98390741Z","modified_time":"2026-08-10T12:23:16Z","sha256":"9476bbe7c2ce12348142e93deffe53c9d4d6dfef3400030af81cff902bac5935","source":"amazon-inspector","versions":["1.6.2"]},{"id":"IN-MAL-2026-017252","import_time":"2026-08-10T12:24:46.904805202Z","modified_time":"2026-08-10T12:23:04Z","sha256":"f3883a4eaf1f35ec3de7789b864b2c402769c31d13b0bc150e1e7d47e22c8eb9","source":"amazon-inspector","versions":["1.6.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0