{"id":"MAL-2024-10238","summary":"Malicious code in 123bla (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (d085ff0850c519ea81f21c8be37968a923d4d162e126c3ded06c482b7bdadd36)\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\n## Source: ossf-package-analysis (482493bb0425cda1267f50c860740681a8c0e91958623ed8d949b9db65b2e4a9)\nThe OpenSSF Package Analysis project identified '123bla' @ 0.0.1 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","modified":"2025-12-12T20:34:38.137286Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2024-10-27T14:05:09.316165759Z","modified_time":"2024-10-27T13:55:45Z","source":"ossf-package-analysis","sha256":"482493bb0425cda1267f50c860740681a8c0e91958623ed8d949b9db65b2e4a9","versions":["0.0.1"]},{"import_time":"2025-12-02T22:30:55.808245522Z","modified_time":"2024-07-26T16:53:30Z","source":"kam193","sha256":"9fab74499715021f240c18ca1b31ee9b348c93d59b5bfca463d5f41364d9af68","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"id":"pypi/GENERIC-standard-pypi-install-pentest/123bla"},{"import_time":"2025-12-02T23:07:18.994295433Z","modified_time":"2024-07-26T16:53:30Z","source":"kam193","sha256":"d085ff0850c519ea81f21c8be37968a923d4d162e126c3ded06c482b7bdadd36","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"id":"pypi/GENERIC-standard-pypi-install-pentest/123bla"},{"import_time":"2025-12-10T21:38:58.143940665Z","modified_time":"2024-07-26T16:53:30Z","source":"kam193","sha256":"3c0077c8c19022bb8ef16b682070e6ba67697686fcc2d2a6fa77d79843fcf873","versions":["0.0.1"],"id":"pypi/GENERIC-standard-pypi-install-pentest/123bla"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/123bla"}],"affected":[{"package":{"name":"123bla","ecosystem":"PyPI","purl":"pkg:pypi/123bla"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/123bla/MAL-2024-10238.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":"ANALYST"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}