VYPR

pypi · Malicious package advisory

Malware

requests-triwes

GHSA-c47p-v854-jfg4

Malicious code in requests-triwes (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 2.34.2`

## Source: kam193 (fa01be0759de95b7a1628930718f7b3bf372eff0c777aace419196e327e77078)
During installation, package starts a reverse shell.


---

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


Campaign: 2026-09-requests-triwes


Reasons (based on the campaign):


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


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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/44c218ef24cf0a946ee5662e20e1cd59a1e6a7b6/osv/malicious/pypi/requests-triwes/MAL-2026-16275.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/requests-triwes
- https://github.com/ossf/malicious-packages/blob/44c218ef24cf0a946ee5662e20e1cd59a1e6a7b6/osv/malicious/pypi/requests-triwes/MAL-2026-16275.json
- https://github.com/advisories/GHSA-c47p-v854-jfg4

Compromised versions (1)

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