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

1 line
4.8 KiB
JSON

{"schema_version":"1.9.2","id":"MAL-2026-19247","published":"2026-11-13T17:50:00Z","modified":"2026-11-16T22:45:04.611850887Z","summary":"Malicious code in testing1345 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (89784543a54361ccd20f7d5986a3468bfb12998dfd283b6737f9d9b1ad8c4555)\nThe sdist's setup.py registers a custom build_py command that invokes testing1345.hello.fetch(), which downloads https://helper-exe.vercel.app/hello.bat to %TEMP% and executes it via cmd.exe. The bdist_wheel override additionally writes a site-packages.pth file (testing1345_boot.pth) containing 'import testing1345_boot'; that module calls the same fetch() on Windows at interpreter startup, repeating the download-and-run of hello.bat from the unpinned third-party Vercel host with no hash or signature verification. A temp-file marker gates the boot path to once per machine but is user-deletable. A separate vmcheck module reads DMI/SMBIOS strings and Hyper-V registry keys to classify the host as physical or virtual; it is exposed as a library API and not wired into the install/boot fetch path, but commonly accompanies dropper behavior.\n\n## Source: kam193 (15bab830cd8343859ac220ef87e821719169a4e2ccb50da37032d97ef02c27dd)\nDuring installation, the package downloads and executes a script from a remote location. The server delivers different payload versions, some of them being benign, and others containing next-stage installation. The final payload is a RAT.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-testing1345\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote malicious script.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - rat\n","affected":[{"package":{"name":"testing1345","ecosystem":"PyPI","purl":"pkg:pypi/testing1345"},"versions":["0.1.0"],"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":[{"artifacts":["testing1345-0.1.0.tar.gz"],"path":"setup.py","sha256":"c62c6261fcda3cf5ff29ed25c106dd026b84905926a0ab7e0c43b7f5a0f8d02a","tlsh":"768165b7c80217f2974261a1994bc3e68331e4335aa49564b8ee80650fdf0f345f71e9"},{"artifacts":["testing1345-0.1.0.tar.gz"],"path":"src/testing1345_boot.py","sha256":"3305693353cf72faad3755249374060b39fb90a4545bd33836b35c6253be9575","tlsh":"312142b2e60253b28712e1789a5193d9e339fc27ad999064f96cc0313fd617b81f13c4"},{"artifacts":["testing1345-0.1.0.tar.gz"],"path":"src/testing1345/vmcheck.py","sha256":"37665cc02be8864ea6426a2dfbf39f4d1ddbcc7c47f67a9eb3fa3d665eaed35a","tlsh":"91625187e5247ca2894780658c5bd182ab3134431e5034357afcc168bf6e95fa3bdbbe"}],"package_integrity":[{"filename":"testing1345-0.1.0.tar.gz","hashes":{"blake2b_256":"0ba4551c943d43b0c0c6370283a1373d571888eaee22fd8f9cdfc9fc1a5199ec","md5":"2e07958fcddffa03356957ca8cba29b0","sha256":"1b26617fd70b0507af87c0b99a556e8cefe807e8b2e8a147b7ad26e2dfe2f3ee"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testing1345/MAL-2026-19247.json"}}],"references":[{"type":"EVIDENCE","url":"https://tria.ge/261113-wal5qset2s"},{"type":"EVIDENCE","url":"https://www.virustotal.com/gui/file/ce97b675a86bfff5e73e218e8d9d17458857d2328b1b55acd87f644001ca865f/detection"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/testing1345"},{"type":"PACKAGE","url":"https://pypi.org/project/testing1345/0.1.0/"}],"database_specific":{"iocs":{"domains":["helper-exe.vercel.app"],"urls":["https://helper-exe.vercel.app/hello.bat","https://file.garden/autlsl_4glu4x2U5/c_b8a1b1.zip","https://file.garden/autlsl_4glu4x2U5/m_7cf722","https://pomf2.lain.la/f/qj4sh0sj.png"]},"malicious-packages-origins":[{"id":"pypi/2026-11-testing1345/testing1345","import_time":"2026-11-13T18:12:41.089861858Z","modified_time":"2026-11-13T17:50:00.683461Z","sha256":"15bab830cd8343859ac220ef87e821719169a4e2ccb50da37032d97ef02c27dd","source":"kam193","versions":["0.1.0"]},{"id":"pypi/2026-11-testing1345/testing1345","import_time":"2026-11-13T20:11:32.350009888Z","modified_time":"2026-11-13T17:50:00.683461Z","sha256":"48d6feb6315919cb99e4b19a9f8342a8fd929affcb24f6e46b7c53224534461a","source":"kam193","versions":["0.1.0"]},{"id":"IN-MAL-2026-022815","import_time":"2026-11-16T22:36:32.320966818Z","modified_time":"2026-11-16T22:29:56Z","sha256":"89784543a54361ccd20f7d5986a3468bfb12998dfd283b6737f9d9b1ad8c4555","source":"amazon-inspector","versions":["0.1.0"]}]},"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"}]}