{"id":"MAL-2026-2531","summary":"Malicious code in bonsaitree1 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (0c35db41a5cf0a0671b33adf698777ebb63055a4f5ab3076bf3ed563a875cbb6)\nDependency confusion attempt. The user identifies themselves as a HackerOne user abusing the PyPI for the purpose of a bug bounty program. This package did not contain any exfiltration activity.\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-hackerone-bugbounty\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 - dependency-confusion\n","modified":"2026-04-10T16:05:00.490166Z","published":"2026-04-10T15:30:19Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-04-10T15:30:19.229518Z","sha256":"0c35db41a5cf0a0671b33adf698777ebb63055a4f5ab3076bf3ed563a875cbb6","source":"kam193","versions":["0.0.1"],"id":"pypi/GENERIC-hackerone-bugbounty/bonsaitree1","import_time":"2026-04-10T15:49:32.39788136Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/bonsaitree1"}],"affected":[{"package":{"name":"bonsaitree1","ecosystem":"PyPI","purl":"pkg:pypi/bonsaitree1"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/bonsaitree1/MAL-2026-2531.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}