pypi · Malicious package advisory
Malwarebonsaitree1
GHSA-32hf-78v5-gp29
Malicious code in bonsaitree1 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` ## Source: kam193 (0c35db41a5cf0a0671b33adf698777ebb63055a4f5ab3076bf3ed563a875cbb6) Dependency 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. --- Category: 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. Campaign: GENERIC-hackerone-bugbounty Reasons (based on the campaign): - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - dependency-confusion --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/bonsaitree1/MAL-2026-2531.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/bonsaitree1 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/bonsaitree1/MAL-2026-2531.json - https://github.com/advisories/GHSA-32hf-78v5-gp29
Compromised versions (1)
- = 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.