{"schema_version":"1.8.0","id":"MAL-2026-12716","published":"2026-08-05T13:49:14Z","modified":"2026-08-05T14:36:39.159253678Z","summary":"Malicious code in devplatform-integrations-tests-lib (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5a69dc1ca445f24f40d0b4b24dc010a7d85c8994c65d215f2c6e5efe5dfac28f)\nOn require, _bootstrap.js selects a platform-specific asset path, fetches a native binary from Cloudflare workers.dev hosts (e.g. oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback to *.dl.wel1.ru, writes it to /var/tmp/.cache_<rand> or %TEMP%\\dotnet_diag_<rand>.exe, chmods it to 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames and DNS domains are assembled from split string arrays (e.g. ['sdk.d','l.wel','1.ru'].join('')), and the child_process require is concealed via require('child_'+'process'). Staging filenames (analytics_state, dotnet_diag_*.exe) mimic legitimate system artifacts. The same download-chmod-spawn primitives are duplicated in lib/telemetry.js, providing a secondary load-time execution path. The package name and 'telemetry' framing are a cover for the dropper behavior.\n","affected":[{"package":{"name":"devplatform-integrations-tests-lib","ecosystem":"npm","purl":"pkg:npm/devplatform-integrations-tests-lib"},"versions":["35.2.5"],"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":"_bootstrap.js","sha256":"60f4e5ef944e544746f467ac724d6a27993b91c22c4cbac2bff038d1c1caa7f5","tlsh":"8aa1875a126670184bb0e7f4c71b4825f65bf66337818284f75c69985fb35188372efc"},{"path":"lib/telemetry.js","sha256":"53d75c1faa6894a4241f1eb4dc04f0a8b73dbf870ee4fcec2eba5d803534b6ba","tlsh":"2a835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"devplatform-integrations-tests-lib-35.2.5.tgz","hashes":{"sha1":"832ed22ce993ec1582735d8bd4e49d83fbfa94c5","sha512_sri":"sha512-dN/W9f8GMDddBtGpHOy30rktxdfgMe4gRUnbdU8Qy+0r/JbI4W5B18kNfUZ89/A71LVVG8ZbDnyC/CenV7NOug=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-integrations-tests-lib/MAL-2026-12716.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-integrations-tests-lib/v/35.2.5"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015052","import_time":"2026-08-05T14:19:56.945029949Z","modified_time":"2026-08-05T13:49:14Z","sha256":"5a69dc1ca445f24f40d0b4b24dc010a7d85c8994c65d215f2c6e5efe5dfac28f","source":"amazon-inspector","versions":["35.2.5"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}