MAL-2025-1997Malicious code in testospkg (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | testospkg | 0.0.1 |
| PyPI | testospkg | 0.0.2 |
| PyPI | testospkg | 0.0.3 |
{"modified":"2026-03-19T12:23:26Z","published":"2024-07-26T16:53:30Z","schema_version":"1.7.4","id":"MAL-2025-1997","summary":"Malicious code in testospkg (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (9e465f1b8689bea6b370d4daf187498e073715c051bea18b33f8e20f15b03e02)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\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: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\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","affected":[{"package":{"ecosystem":"PyPI","name":"testospkg","purl":"pkg:pypi/testospkg"},"versions":["0.0.2","0.0.3","0.0.1"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/testospkg"}],"credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","type":"ANALYST","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"ReversingLabs","type":"FINDER","contact":["https://www.reversinglabs.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"reversing-labs","sha256":"8037754b80149b6d2d3be95e1867d4f5b8401637539733006147968cd9920f75","import_time":"2025-03-03T15:07:17.604572056Z","id":"RLMA-2025-01240","modified_time":"2025-03-03T13:45:23Z","versions":["0.0.2","0.0.3"]},{"source":"kam193","sha256":"9f7a507f59348115b4a92ab77584130cbbae2b627b241d8d1aecb46a81a33ba1","import_time":"2025-12-02T22:30:56.443767877Z","id":"pypi/GENERIC-standard-pypi-install-pentest/testospkg","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"9e465f1b8689bea6b370d4daf187498e073715c051bea18b33f8e20f15b03e02","import_time":"2025-12-02T23:07:19.627983917Z","id":"pypi/GENERIC-standard-pypi-install-pentest/testospkg","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"78a3b5dfea1aec0f6dca8f6b815cd15f98a1e78b1830c4743cb05cf060156ef8","import_time":"2025-12-10T21:38:58.731572633Z","id":"pypi/GENERIC-standard-pypi-install-pentest/testospkg","modified_time":"2024-07-26T16:53:30Z","versions":["0.0.1","0.0.2","0.0.3"]},{"source":"reversing-labs","sha256":"9c9266b5bf0d3392fc9c3fd28195a5f228ceb83a736e4245ba728846206b46d5","import_time":"2026-03-19T12:20:32.34159763Z","id":"RLUA-2026-00808","modified_time":"2026-03-18T12:19:21Z"}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0