VYPR

pypi · Malicious package advisory

Malware

whalebone7-poc

GHSA-ghvw-xrjq-2rhc

Malicious code in whalebone7-poc (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.4`

## Source: kam193 (ebd207a56329855d7d146895e375b39fcbe907f6ff2e7489a80bbe7c6d4a01fc)
Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: GENERIC-questionable-pentest


Reasons (based on the campaign):


 - exfiltration-env-variables


 - exfiltration-generic


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - typosquatting

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/whalebone7-poc/MAL-2025-3018.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/whalebone7-poc
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/whalebone7-poc/MAL-2025-3018.json
- https://github.com/advisories/GHSA-ghvw-xrjq-2rhc

Compromised versions (1)

  • = 0.0.4

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.