VYPR

pypi · Malicious package advisory

Malware

anaconda-anon-usage

GHSA-wprg-vh4p-952r

Malicious code in anaconda-anon-usage (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.4.9`

## Source: kam193 (681441a370f0819063d937bf24e1c9fdff7fd9dc5201da7e2c577d8a547fff51)
The package is designed to exfiltrate basic data, like hostname and OS details, as well as collect information about the stacktrace it's imported from.


---

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: 2024-08-moti-analytics


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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/anaconda-anon-usage/MAL-2024-9939.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/anaconda-anon-usage
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/anaconda-anon-usage/MAL-2024-9939.json
- https://github.com/advisories/GHSA-wprg-vh4p-952r

Compromised versions (1)

  • = 0.4.9

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