{"id":"MAL-2024-12272","summary":"Malicious code in filecraft (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3d0eec02526b659b5e856c211e05be1842dc283ed0b7d07dc90574ea5c7dc34a)\nDuring the installation, the package iterates its files and attempts to import a hidden module - which is embedded as ZIP archive in the image file\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-12-handyfiles\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\n","modified":"2025-12-12T20:39:19.755862Z","published":"2024-12-24T17:49:23Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/2024-12-handyfiles/filecraft","import_time":"2025-12-02T22:30:55.193250093Z","modified_time":"2024-12-24T17:49:23Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"e254f88b8d741f7a43a0e494dcfd08135f29b5634f3baa5d684b2bd6bc168bfc","source":"kam193"},{"id":"pypi/2024-12-handyfiles/filecraft","import_time":"2025-12-02T23:07:18.202363358Z","modified_time":"2024-12-24T17:49:23Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"3d0eec02526b659b5e856c211e05be1842dc283ed0b7d07dc90574ea5c7dc34a","source":"kam193"},{"versions":["0.0.1"],"id":"pypi/2024-12-handyfiles/filecraft","import_time":"2025-12-10T21:38:57.487552343Z","modified_time":"2024-12-24T17:49:23Z","sha256":"3cc26897a4e79c8a9b10f1b628671a7e2af53733c3bc7ee8ca5eecdc6c97f450","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/filecraft"}],"affected":[{"package":{"name":"filecraft","ecosystem":"PyPI","purl":"pkg:pypi/filecraft"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/filecraft/MAL-2024-12272.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}