VYPR

pypi · Malicious package advisory

Malware

py-clob-clients

GHSA-pjv4-4pph-q9hw

Malicious code in py-clob-clients (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.0`

## Source: kam193 (7136140b365c314a42f5efe300779f093c40a41fb5c2258c7f5ff05c88eba2f8)
Package exfiltrates env variables from .env files. It's a typosquatting of a legitimate package and is used in a malicious GitHub repository


---

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


Campaign: 2026-05-py-clob-clients


Reasons (based on the campaign):


 - typosquatting


 - crypto-related


 - exfiltration-env-variables


 - action-hidden-in-lib-usage


 - The malicious code is intentionally included in a dependency of the package

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/py-clob-clients/MAL-2026-3220.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/py-clob-clients
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/py-clob-clients/MAL-2026-3220.json
- https://github.com/rustyneuron01/Polymarket-Sports-Trading-Bot/blob/8f68304257d2064ddd4e308e16083267e8fe3826/config.py#L9
- https://github.com/advisories/GHSA-pjv4-4pph-q9hw

Compromised versions (1)

  • = 0.1.0

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