MAL-2026-13543Malicious code in devplatform-api-v1-resources (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | devplatform-api-v1-resources | 35.4.7 |
{"modified":"2026-08-07T12:28:10Z","published":"2026-08-07T12:28:10Z","schema_version":"1.7.4","id":"MAL-2026-13543","summary":"Malicious code in devplatform-api-v1-resources (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (58312f0f83e88c3dbd6f62bc334db255d0e3d5c6aed0d8d859dd0b17ce77557c)\nOn require of the package's main entry, setup.js fetches a platform-specific binary from Cloudflare Workers hosts whose names are reassembled at runtime from fragment arrays (e.g. oob-worker.cf101-*.workers.dev, oob-worker.cf99-9b3.workers.dev) with a DNS TXT fallback under *.dl.wel1.ru. The fetched bytes are written to /var/tmp or the Windows TEMP directory under disguised names (dotnet_diag_<hex>.exe,.cache_<hex>), chmod'd to 0755, and spawned detached via /bin/sh on POSIX or cmd on Windows. No hash or signature verification is performed. A second copy of the same download-write-chmod-spawn pattern, using base64 chunk assembly and string-concatenated API names (fs[\"chmod\"+\"Sync\"]), is shipped in lib/telemetry.js under the guise of a telemetry SDK. C2 hostnames are split into small fragments and joined at runtime to defeat static analysis, and endpoints rotate across multiple workers.dev subdomains with a.ru DNS fallback.\n","affected":[{"package":{"ecosystem":"npm","name":"devplatform-api-v1-resources"},"versions":["35.4.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"setup.js","sha256":"320a3f97cccce3f6ea76ad2c4f82a50ee514c121d89c10bd3227477894c5d68e","tlsh":"46a1ba961666701c8bb09bf4871b5416f65be6633780c288fb5ca4981f721248372efc"},{"path":"lib/telemetry.js","sha256":"0f0059fea6a711a0da69c94567438bf114d59565e373c83a3daa80088fd36c12","tlsh":"20835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"devplatform-api-v1-resources-35.4.7.tgz","hashes":{"sha1":"af13c351582ca207fa9540e812e3f0a6743098cc","sha512_sri":"sha512-ZPzAGoLsGupG4PHJvf2aOLBy/+Gp1H4Efv90ZVF1Q3mJeGMV29Wx0ayeukgksbMJFVjmjfbZ/yi782qn4HiAUA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-api-v1-resources/v/35.4.7"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-016993","import_time":"2026-08-07T12:51:21.338311766Z","modified_time":"2026-08-07T12:28:10Z","sha256":"58312f0f83e88c3dbd6f62bc334db255d0e3d5c6aed0d8d859dd0b17ce77557c","source":"amazon-inspector","versions":["35.4.7"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0