{"id":"MAL-2026-15915","summary":"Malicious code in text-transform-plus (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e3efed1eeb185e17a51a67059e57156e5c540899e5a30076df710e0242a5560c)\nThe package's postinstall script downloads a ZIP archive from a hardcoded Dropbox URL (https://www.dropbox.com/scl/fi/djz38wdi1wks9j1h57zuv/coeur.zip) to a hidden randomized temp path, extracts it using unzip/Expand-Archive, and executes any.exe found on Windows with detached, hidden-window flags. The install script short-circuits when NODE_ENV=production or CI is set, and stages the payload under os.tmpdir() with dot-prefixed random names (`.${Date.now()}.tmp`, `.data${Math.random()...}`) to evade sandbox/CI environments and casual discovery. The declared purpose (a text-transform utility) has no need for any binary download or execution. The fetched binary is unpinned, unverified, and delivered from an anonymous file-sharing host, yielding arbitrary code execution on developer Windows machines at `npm install` time.\n","modified":"2026-09-04T05:45:05.632437902Z","published":"2026-09-04T05:20:02Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019480","import_time":"2026-09-04T05:39:32.946696425Z","modified_time":"2026-09-04T05:20:02Z","sha256":"e3efed1eeb185e17a51a67059e57156e5c540899e5a30076df710e0242a5560c","source":"amazon-inspector","versions":["1.2.4"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/text-transform-plus/v/1.2.4"}],"affected":[{"package":{"name":"text-transform-plus","ecosystem":"npm","purl":"pkg:npm/text-transform-plus"},"versions":["1.2.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/text-transform-plus/MAL-2026-15915.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"sha256":"bab27aa150c4ae875821d8a813a67b9ebfffb1541744fa0ab5f2aba6b44f91ea","tlsh":"8641a6d916f3523141f3a3d9a7afe41ba18b9613328ed8947d9c91005fa163893a1cdc","path":"scripts/install.js"}],"package_integrity":[{"filename":"text-transform-plus-1.2.4.tgz","hashes":{"sha1":"ab56c9547c0a2b065e42af7f4c623f0169fcd839","sha512_sri":"sha512-JGwj69RKHSAkm9+1/kHbo/mcGeAj176peR95zORbJP2pCbkxtXd2yMpzAsMf+cBJSZbA8xrdnUhDZfzFRHymzQ=="}}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}