pypi · Malicious package advisory
Malwarebadgerdoc-storage
GHSA-v4wg-hc36-rq4v
Malicious code in badgerdoc-storage (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` ## Source: kam193 (57170ed58e2cf5e3b4b32f443ae555c7c040f2a395b3505837c90e06add93db5) Packages that seem to be created by a legit bug bounty hunter. Designed to look like created by different organisations, they contain a couple of data exfiltration (including all env variables) and potential remote code execution (though the URL seems not to serve any code). --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-05-sl4x01 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. - exfiltration-env-variables - impersonation ## Source: ossf-package-analysis (e4cb1d64c1adc71d974cdd0d7efad753262eb0a666d9f284d988aaae9c506ff0) The OpenSSF Package Analysis project identified 'badgerdoc-storage' @ 0.0.1 (pypi) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/badgerdoc-storage/MAL-2025-3740.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/badgerdoc-storage - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/badgerdoc-storage/MAL-2025-3740.json - https://github.com/sl4x0 - https://github.com/advisories/GHSA-v4wg-hc36-rq4v
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.