{"id":"MAL-2026-1296","summary":"Malicious code in bpsm (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (5dfe0d38862649d74eb0c306f047d854004293223eae7cfa7f4fc82c9370bd96)\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","modified":"2026-04-10T16:04:58.617875Z","published":"2026-03-09T17:31:34Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/bpsm","import_time":"2026-03-09T18:21:38.586976963Z","modified_time":"2026-03-09T17:31:34.927448Z","sha256":"5dfe0d38862649d74eb0c306f047d854004293223eae7cfa7f4fc82c9370bd96","source":"kam193","versions":["99.0.0"]},{"versions":["99.0.0"],"id":"pypi/GENERIC-hackerone-bugbounty/bpsm","import_time":"2026-03-12T00:28:59.0301041Z","modified_time":"2026-03-11T23:33:44.678531Z","sha256":"05b6d57f9a721bce69dd41f1ddf9cedf05531376ef9b44d1fe87e01dbe39b11d","source":"kam193"},{"source":"kam193","versions":["99.0.0"],"id":"pypi/GENERIC-hackerone-bugbounty/bpsm","import_time":"2026-04-10T15:49:32.398834906Z","modified_time":"2026-03-11T23:33:44.678531Z","sha256":"1dfbedba494f0ed19e351b91c2665df614b8239acd3d2eae479a3e6080c0d454"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/bpsm"}],"affected":[{"package":{"name":"bpsm","ecosystem":"PyPI","purl":"pkg:pypi/bpsm"},"versions":["99.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/bpsm/MAL-2026-1296.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}