VYPR

pypi · Malicious package advisory

Malware

calculator-c08d6d50f5964131

GHSA-qq23-394f-9gcm

Malicious code in calculator-c08d6d50f5964131 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1000.0.2`

## Source: kam193 (6343baa8b5e97a91b02979723f28035221550addc225d0e3911916a51ef5ef37)
Clearly research/pentesting examples containing reverse shell.


---

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-examples-with-revshell


Reasons (based on the campaign):


 - dependency-confusion


 - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/calculator-c08d6d50f5964131/MAL-2024-12229.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/calculator-c08d6d50f5964131
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/calculator-c08d6d50f5964131/MAL-2024-12229.json
- https://github.com/advisories/GHSA-qq23-394f-9gcm

Compromised versions (1)

  • = 1000.0.2

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