{"id":"MAL-2026-12702","summary":"Malicious code in devplatform-cli-plugin-lint (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e8460a9cc2fce88e69d25156ea88612a5a67ffba26709ce88900d573e2f4b3ea)\nOn require() of the package, index.js loads _bootstrap.js which selects a platform-specific asset path (linux_x64, linux_arm64, darwin, win32), downloads an opaque binary over HTTPS from one of four hardcoded Cloudflare Workers subdomains (oob-worker.cf100-*.workers.dev through cf103-*.workers.dev) with a DNS-TXT fallback channel resolving *.dl.wel1.ru hosts (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), writes it to /var/tmp or %TEMP% under a randomized name such as.cache_\u003chex\u003e or dotnet_diag_\u003chex\u003e.exe, chmods 0755 on Unix, and spawns it detached via /bin/sh -c or cmd.exe. Hostnames and dangerous API names (child_process, chmodSync) are reconstructed from split-string arrays via Array.join('') to evade static analysis. A secondary module lib/telemetry.js (81 KB) ships the same drop-and-execute primitives (base64 buffer decode, fs.chmodSync 0755, cp.spawn('/bin/sh', ['-c', filePath+' &'])) behind an 'analytics SDK' cover story. The package presents itself as a devplatform CLI lint plugin; the shipped code performs full-host remote code execution on library load.\n\n## Source: ghsa-malware (ea105640a744e8157c32baaf4d5826923dbd99cafbdf4c5652d633368d0c85eb)\nAny 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.\n","aliases":["GHSA-m3ch-p9vx-grpc"],"modified":"2026-08-06T01:20:27.482302876Z","published":"2026-08-05T13:51:39Z","database_specific":{"malicious-packages-origins":[{"versions":["35.5.1"],"id":"IN-MAL-2026-015069","import_time":"2026-08-05T14:19:58.660636142Z","modified_time":"2026-08-05T13:51:39Z","sha256":"e8460a9cc2fce88e69d25156ea88612a5a67ffba26709ce88900d573e2f4b3ea","source":"amazon-inspector"},{"modified_time":"2026-08-05T18:34:58Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"ea105640a744e8157c32baaf4d5826923dbd99cafbdf4c5652d633368d0c85eb","source":"ghsa-malware","id":"GHSA-m3ch-p9vx-grpc","import_time":"2026-08-06T00:58:53.410151015Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-cli-plugin-lint/v/35.5.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m3ch-p9vx-grpc"}],"affected":[{"package":{"name":"devplatform-cli-plugin-lint","ecosystem":"npm","purl":"pkg:npm/devplatform-cli-plugin-lint"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["35.5.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-cli-plugin-lint/MAL-2026-12702.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"hashes":{"sha1":"8159dcbe9cc78cbed02234498ec462b16a1c7e1a","sha512_sri":"sha512-fZ5t42nuEXfiJthBjtjHBMzXxXxk/1MueE/y7VztpDsgQiCrUKQPOiJsA4W4St3yDf3wlTm4E9yzItE1K+wCSA=="},"filename":"devplatform-cli-plugin-lint-35.5.1.tgz"}],"evidence_files":[{"path":"_bootstrap.js","sha256":"19b809c1a80f1d35713bbc4f7f4b619ffe47c4551b0bbb041878d9c9f6f8a3de","tlsh":"a8a1866a15a670188b70ebe1c717541af657f653738081d8f75c99984fb322483b2efc"},{"path":"lib/telemetry.js","sha256":"394ca55341bb7e3a00cd8c4d952d8b34436f5a50fdd85460d36426efc9abbe23","tlsh":"3c835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}