{"id":"MAL-2026-13268","summary":"Malicious code in devplatform-test-pvm-is-odd (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bea9b91a5e345be04b775870b684a468293d7d7e4a49fa31c21178cfcd02f68d)\ndevplatform-test-pvm-is-odd@35.3.9 is a lure package whose index.js requires./_bootstrap.js on load. _bootstrap.js downloads a platform-specific binary from hardcoded Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-over-TXT fallback to *.dl.wel1.ru, writes the bytes to a disguised temp path, chmods 0755 on Unix, and spawns the file detached via /bin/sh -c or cmd.exe. Hostnames, the require('child_process') identifier, and fs.chmodSync are assembled at runtime from split string fragments (e.g. ['oob-worke','r.cf99-9b3.worke','rs.dev'].join('')) to evade static scanners, and a stamp file gates repeat execution. A second, structurally identical dropper is shipped in lib/telemetry.js (81KB) with chunked base64 payload assembly, string-concatenated fs.chmodSync, and cp.spawn('/bin/sh', ['-c', filePath+' &']); it is not reachable from index.js in this version but is present in the tarball. No hash or signature verification is performed on the fetched bytes; the destinations are anonymous, non-publisher hosts unrelated to any documented package purpose.\n","modified":"2026-08-05T16:50:25.779392709Z","published":"2026-08-05T15:29:58Z","database_specific":{"malicious-packages-origins":[{"sha256":"bea9b91a5e345be04b775870b684a468293d7d7e4a49fa31c21178cfcd02f68d","source":"amazon-inspector","versions":["35.3.9"],"id":"IN-MAL-2026-015722","import_time":"2026-08-05T16:13:36.174830335Z","modified_time":"2026-08-05T15:29:58Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-test-pvm-is-odd/v/35.3.9"}],"affected":[{"package":{"name":"devplatform-test-pvm-is-odd","ecosystem":"npm","purl":"pkg:npm/devplatform-test-pvm-is-odd"},"versions":["35.3.9"],"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":"e2fbe573ba621cda13745a4b7907cca8ada186574055adab341d6eeeb0e62e0f","tlsh":"dea197aa06a5b0188f70ebe4c6178816f66bf6a33680c1d4f79c55845f7752483b2efc"},{"path":"lib/telemetry.js","sha256":"39a53a715482a4ef5ba53f2bd71e24c6b78e981eb9ed962dec9283942efb1db2","tlsh":"fd835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"devplatform-test-pvm-is-odd-35.3.9.tgz","hashes":{"sha512_sri":"sha512-uskhs5vgwkZsi09eBMUUceC1+IYkE0+6EYFAQIeJc4X/8aHmHyuGWSTvVYp9/3isQbT+j5mKT7is2mKmi9Q+aA==","sha1":"81fad51365149d174377f1d89edbabe0bc4a7006"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-test-pvm-is-odd/MAL-2026-13268.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}