VYPR

pypi · Malicious package advisory

Malware

youreallydontwantthispackage2131

GHSA-gp6c-rjvj-fj3v

Malicious code in youreallydontwantthispackage2131 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.1`

## Source: kam193 (8bca93b1825c930118e85cc054305e6aef120080f8cc68233467eb6ee7b3ff1d)
Installing the package attempts to exfiltrate GCP tokens. As it uses a random names and/or targets specific accounts, it's most probably a (pen)test.


---

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-10-gal32fjdsbf89hnd-gcp-token


Reasons (based on the campaign):


 - exfiltration-cloud-tokens

## Source: ossf-package-analysis (287818178d5bd4e83a85547242db772b2e39cbcc17038f0a01da63f787d510b9)
The OpenSSF Package Analysis project identified 'youreallydontwantthispackage2131' @ 1.0.1 (pypi) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

- 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/youreallydontwantthispackage2131/MAL-2024-10241.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/youreallydontwantthispackage2131
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/youreallydontwantthispackage2131/MAL-2024-10241.json
- https://github.com/advisories/GHSA-gp6c-rjvj-fj3v

Compromised versions (1)

  • = 1.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.