{"id":"MAL-2026-12288","summary":"Malicious code in twork-data-services-aggregator-sme-task-info (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7847fa8341bf64260b2ff25824d2dbb7b80f637d77578db5604ea7ab39ea2874)\nOn require of this package, index.js loads _runtime.js which asynchronously fetches a platform-specific binary from string-concatenation-obfuscated hosts (oob-worker.cf100-cf103-*.workers.dev, with a DNS-TXT chunked base64 fallback via tin/tina/ldr/win.dl.well1.site), writes it to /tmp as.cache_\u003crand\u003e or to %TEMP% as dotnet_diag_\u003crand\u003e.exe, chmods it 755, and spawns it detached via /bin/sh -c or cmd.exe /c start. Destination hostnames and DNS resolvers are assembled at runtime via.join() over split string fragments to evade static inspection. No hash or signature verification is performed on the fetched bytes. A second, functionally equivalent dropper is shipped in lib/telemetry.js (mislabeled 'Analytics SDK'): base64 chunk reassembly, split-string require(\"child_\"+\"process\"), fs[\"chmod\"+\"Sync\"](path, 0o755), and cp.spawn(\"/bin/sh\", [\"-c\", filePath+\" &\"], {detached:true}). Package name masquerades as an enterprise data-services utility; behavior is a load-time remote-code-execution dropper.\n","modified":"2026-08-05T10:07:01.542962531Z","published":"2026-08-05T09:15:41Z","database_specific":{"malicious-packages-origins":[{"sha256":"7847fa8341bf64260b2ff25824d2dbb7b80f637d77578db5604ea7ab39ea2874","source":"amazon-inspector","versions":["20.3.1"],"id":"IN-MAL-2026-014612","import_time":"2026-08-05T09:28:30.507917553Z","modified_time":"2026-08-05T09:15:41Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/twork-data-services-aggregator-sme-task-info/v/20.3.1"}],"affected":[{"package":{"name":"twork-data-services-aggregator-sme-task-info","ecosystem":"npm","purl":"pkg:npm/twork-data-services-aggregator-sme-task-info"},"versions":["20.3.1"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"path":"_runtime.js","sha256":"19cb367eb32e9040c56fa036f04ffa382bea3fcea02b72f484c15363373de9f1","tlsh":"0cb1c8a606a6701d8bb09be587274416f66bf6633380c194fb5ce5981f7613483b2efc"},{"path":"lib/telemetry.js","sha256":"3d5c83eed64a3654e913502cc61d73251bced88c285878a35e221097f65bb687","tlsh":"9e835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"twork-data-services-aggregator-sme-task-info-20.3.1.tgz","hashes":{"sha1":"71ad78b420afa88420dc2f3ed9d9428ed9e65e4a","sha512_sri":"sha512-0OJuZsbGKte61Itr72zpkthYRCe15yVns3t4pCgvgVVMBQWNHycRd5CGJ0ztRcGdOwJUTDKomzsHOcgwvVajtg=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twork-data-services-aggregator-sme-task-info/MAL-2026-12288.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}