Files
vuln-osv/data/PyPI/MAL-2026-18768.json
T

1 line
5.9 KiB
JSON

{"schema_version":"1.9.2","id":"MAL-2026-18768","published":"2026-11-08T12:45:59Z","modified":"2026-11-11T21:15:15.167521672Z","summary":"Malicious code in super-color (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9f011b9543cf75605eb55a45f8178b552c3a9371687bd9ff6112275b67290cf8)\nsuper-color presents itself as a terminal color library but, on Windows, every advertised Color method (paint/print/__call__, e.g. colors.red.print(...), colors.green(x)) invokes an internal _run_payload() routine that fetches a Windows executable from https://cdn.discordapp.com/attachments/1442967767853563904/1568948904123310080/loader.exe with three fallbacks (urllib with a Chrome User-Agent, curl, and certutil -urlcache -split -f), writes the bytes to %TEMP%\\SolaceRuntime\\python315.exe after verifying the MZ header, and launches the file detached via subprocess.Popen with DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP | CREATE_NO_WINDOW. The staging directory and filename impersonate a Python runtime, the LOLBin fallback chain and hidden-window flags are standard Windows commodity-dropper evasion, and the fetched payload is attacker-controlled content hosted on a Discord CDN unrelated to the package's stated purpose. Normal usage of the library on Windows therefore results in an attacker-controlled PE executing on the installer's machine.\n\n## Source: kam193 (908af2bf828b75158c5bf0aae5a9d422694f21f566a745ff42b82f1f7ed4560d)\nPackage hides a code downloading and installing an infostealer.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-chromacli\n\n\nReasons (based on the campaign):\n\n\n - infostealer\n\n\n - Downloads and executes a remote executable.\n\n\n - action-hidden-in-lib-usage\n\n\n - malware\n","affected":[{"package":{"name":"super-color","ecosystem":"PyPI","purl":"pkg:pypi/super-color"},"versions":["0.1.0","0.1.1","0.1.2","0.1.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"artifacts":["super_color-0.1.0.tar.gz","super_color-0.1.0-py3-none-any.whl"],"path":"src/super_color/core.py","sha256":"4e925268e73d185fc0cc27ae8540efed9935e28b73b3efb3587c7465a01ba7f1","tlsh":"55514141d809a412e243d9a4c562d853572fbd436dab68747e9c8778bf4a129c0f4dec"}],"package_integrity":[{"filename":"super_color-0.1.0-py3-none-any.whl","hashes":{"blake2b_256":"6f065accdc0c6f6a3f18aeb7bf94b2c168107a22a3e066afb8a21a6ac689fcbe","md5":"51abd76d759a5cf7bfb303bb50a3ba68","sha256":"25167f82c4d0f05e042c8d9ef9d65b74cb93895360bd3d5181b3ffaebc4ceb8f"}},{"filename":"super_color-0.1.0.tar.gz","hashes":{"blake2b_256":"0c20cde1acc298ff050815826e6d619301217f5d1d324c4f0105bd68dc4049e3","md5":"1c21a2227e102124c6e86da703f1566e","sha256":"719c727fe9015fa17b884ab5d01ae346131ecd389f60866b562d33088d779c7a"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/super-color/MAL-2026-18768.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/super-color"},{"type":"PACKAGE","url":"https://pypi.org/project/super-color/0.1.0/"},{"type":"PACKAGE","url":"https://pypi.org/project/super-color/0.1.1/"},{"type":"PACKAGE","url":"https://pypi.org/project/super-color/0.1.3/"},{"type":"PACKAGE","url":"https://pypi.org/project/super-color/0.1.2/"}],"database_specific":{"iocs":{"urls":["https://cdn.discordapp.com/attachments/1560347732839891076/1562446203021566032/bedwars.exe?ex=6af1172b&is=6aefc5ab&hm=544b5aacd95a3a0cba1db54a7e7adba093e4b68b8e37c9ec7af805e8fc5e960b&","https://store-eu-par-12.gofile.io/download/web/a2a60e90-dea4-4c6c-9a02-be5ede78dc08/solace.exe","https://cdn.discordapp.com/attachments/1442967767853563904/1568964741068759060/AVKiller.exe?ex=6af1bbc8&is=6af06a48&hm=671b2fd3d75241e0ced0dc4db4754d89a4aa1d655a0beb20e1239c1753e0818a&","https://cdn.discordapp.com/attachments/1442967767853563904/1568948904123310080/loader.exe?ex=6af1ad08&is=6af05b88&hm=ebda0a26ebbbc76c3178b0a2eb0c4678c9b2deafc0d68a016a729b1331ed0fc7&"]},"malicious-packages-origins":[{"id":"pypi/2026-11-chromacli/super-color","import_time":"2026-11-08T13:10:25.214084084Z","modified_time":"2026-11-08T12:45:59.568934Z","sha256":"908af2bf828b75158c5bf0aae5a9d422694f21f566a745ff42b82f1f7ed4560d","source":"kam193","versions":["0.1.0","0.1.1","0.1.2","0.1.3"]},{"id":"IN-MAL-2026-022588","import_time":"2026-11-11T21:05:22.070428014Z","modified_time":"2026-11-11T20:50:36Z","sha256":"49864b582e054eda903ee0d31abfe4d4a432c49942ad370ab79fe312b19a3b4d","source":"amazon-inspector","versions":["0.1.0"]},{"id":"IN-MAL-2026-022589","import_time":"2026-11-11T21:05:22.135212834Z","modified_time":"2026-11-11T20:50:42Z","sha256":"9f011b9543cf75605eb55a45f8178b552c3a9371687bd9ff6112275b67290cf8","source":"amazon-inspector","versions":["0.1.1"]},{"id":"IN-MAL-2026-022595","import_time":"2026-11-11T21:05:22.621886976Z","modified_time":"2026-11-11T20:51:27Z","sha256":"b7da8da9038868ef69222af05ed41da1e1ff34c9539501d9fa5ad0fe171c6e2b","source":"amazon-inspector","versions":["0.1.3"]},{"id":"IN-MAL-2026-022591","import_time":"2026-11-11T21:05:22.341587475Z","modified_time":"2026-11-11T20:50:56Z","sha256":"24b03eb3cd9eb6ab4e9c234a441be38e572088c60b4804a9aa04803b8a6696a5","source":"amazon-inspector","versions":["0.1.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}