VYPR

pypi · Malicious package advisory

Malware

rwoka

GHSA-v937-v7hw-3p6m

Malicious code in rwoka (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.2`

## Source: kam193 (601385385b682f6bdaa31c763e64c5fafb16f22df60acd266c9c7f23f73208ee)
The package contains highly obfuscated content, that install another, downloaded from a remote location obfuscated script in the installation path of the 'requests' package, and marks it as a hidden system file. In addition, another file contains a code that imitates doing some meaningful activity.

Later attempts hide the malicious code in a separated package, downloaded from Test PyPI.


---

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


Campaign: 2024-12-httpfluent


Reasons (based on the campaign):


 - obfuscation


 - modify-system-without-consent


 - Downloads and executes a remote malicious script.

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/rwoka
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/rwoka/MAL-2024-12342.json
- https://github.com/advisories/GHSA-v937-v7hw-3p6m

Compromised versions (1)

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