{"id":"MAL-2025-6441","summary":"Malicious code in atlasctf-21-prod-04 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (001a32ea254df328ea468b5f678beeac998089d5d28d365d4bd412f5b6839267)\nOn installation or importing, the package attempts to exfiltrate some basic information, e.g. /etc/passwd\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: 2025-06-atlasctf\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2026-03-19T12:50:41.216308Z","published":"2025-06-07T14:05:45Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-08-01T10:07:09.215024907Z","source":"reversing-labs","versions":["99.99.99","99.99.99.1"],"modified_time":"2025-07-31T19:14:04Z","sha256":"6a3492ac7b9154ce5c2df380b91b6d4ceb249e7b81c2db4727c37811475b8686","id":"RLMA-2025-03526"},{"import_time":"2025-12-02T22:30:55.845489556Z","source":"kam193","modified_time":"2025-06-07T14:05:45Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"b49c622b38e4bd6abbe60a0c783f74f0072c136e3bca692322cd8d57dadbd2c6","id":"pypi/2025-06-atlasctf/atlasctf-21-prod-04"},{"import_time":"2025-12-02T23:07:19.025755433Z","source":"kam193","modified_time":"2025-06-07T14:05:45Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"001a32ea254df328ea468b5f678beeac998089d5d28d365d4bd412f5b6839267","id":"pypi/2025-06-atlasctf/atlasctf-21-prod-04"},{"import_time":"2025-12-10T21:38:58.170355266Z","source":"kam193","versions":["99.99.99","99.99.99.1"],"modified_time":"2025-06-07T14:05:45Z","sha256":"a2d98e63779adf350b84abf009dece510d385324a71161dec1947f148af1e69f","id":"pypi/2025-06-atlasctf/atlasctf-21-prod-04"},{"import_time":"2026-03-19T12:19:25.444357666Z","source":"reversing-labs","modified_time":"2026-03-18T12:11:25Z","sha256":"9ed84f5c85a5f2b04ff11bdbea3f324359307d25f8810ec99d1416376f7b91be","id":"RLUA-2026-00099"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/atlasctf-21-prod-04"}],"affected":[{"package":{"name":"atlasctf-21-prod-04","ecosystem":"PyPI","purl":"pkg:pypi/atlasctf-21-prod-04"},"versions":["99.99.99","99.99.99.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/atlasctf-21-prod-04/MAL-2025-6441.json"}}],"schema_version":"1.7.5","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":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}