{"schema_version":"1.8.0","id":"MAL-2026-12694","published":"2026-08-05T13:53:25Z","modified":"2026-08-05T14:36:28.955489142Z","summary":"Malicious code in devplatform-api-v2-endpoint (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6f78874e3ff64b85f64b75f0481a7cadc00f15dea7b4f0eb85c1728a65ee2020)\nOn require(), index.js loads./_vendor, whose top-level init() fetches a platform-specific native binary from runtime-assembled Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev), with a fallback that reassembles a base64-encoded binary from DNS TXT records under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The retrieved bytes are written to /var/tmp or %TEMP% under cover-story names such as.cache_<rand> and dotnet_diag_<rand>.exe, chmod 0755, and detached-spawned via /bin/sh -c or cmd.exe /c start /b. C2 hostnames are constructed by joining split string fragments to evade static scanners, and the package labels the activity as 'analytics'/'telemetry'. The result is arbitrary attacker-controlled code execution on the installer's host on every import of the package.\n","affected":[{"package":{"name":"devplatform-api-v2-endpoint","ecosystem":"npm","purl":"pkg:npm/devplatform-api-v2-endpoint"},"versions":["35.6.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":"_vendor.js","sha256":"4afdd28a0b485b776d10f14df4b860b378459679ffb79c11519638e94ae6b411","tlsh":"88a1a75a16ab70084bb0abe4c7174426f55bf66333818194fb5caad41f7352483b2efc"}],"package_integrity":[{"filename":"devplatform-api-v2-endpoint-35.6.7.tgz","hashes":{"sha1":"44b3e5648bce9595e7e22374e615425e522fe130","sha512_sri":"sha512-V0LtWv5c3Pbop3eWH0sl+zxiTuV35PiUvF+m0PUBmOb7JOLOUm6bIMPwAXzFIBybbVWq8HC28l3u4ZZQmgN2qQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-api-v2-endpoint/MAL-2026-12694.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-api-v2-endpoint/v/35.6.7"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015081","import_time":"2026-08-05T14:19:59.879844366Z","modified_time":"2026-08-05T13:53:25Z","sha256":"6f78874e3ff64b85f64b75f0481a7cadc00f15dea7b4f0eb85c1728a65ee2020","source":"amazon-inspector","versions":["35.6.7"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}