{"id":"MAL-2024-12267","summary":"Malicious code in example-pypi-package-loler1 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (bb19218b6d780973bde55d613a16a9a637728a4d01e79d570bb3406633f0f639)\nPackages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.\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-simple-tests\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","modified":"2025-12-12T20:37:33.534751Z","published":"2024-08-23T22:55:41Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"bb9d0ffae446884323ea67cfef5b0e47042d1c01c0a87d9fae2a14a1967aa94c","source":"kam193","id":"pypi/GENERIC-simple-tests/example-pypi-package-loler1","import_time":"2025-12-02T22:30:56.017794448Z","modified_time":"2024-08-23T22:55:41Z"},{"source":"kam193","id":"pypi/GENERIC-simple-tests/example-pypi-package-loler1","import_time":"2025-12-02T23:07:19.216405308Z","modified_time":"2024-08-23T22:55:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"bb19218b6d780973bde55d613a16a9a637728a4d01e79d570bb3406633f0f639"},{"id":"pypi/GENERIC-simple-tests/example-pypi-package-loler1","import_time":"2025-12-10T21:38:58.354103767Z","modified_time":"2024-08-23T22:55:41Z","sha256":"4baf963b14275ac94f0403aff37d1776d40fa2666b5a93b09554f99294aeae7d","source":"kam193","versions":["0.2.0"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/example-pypi-package-loler1"}],"affected":[{"package":{"name":"example-pypi-package-loler1","ecosystem":"PyPI","purl":"pkg:pypi/example-pypi-package-loler1"},"versions":["0.2.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/example-pypi-package-loler1/MAL-2024-12267.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"}]}