VYPR

pypi · Malicious package advisory

Malware

urllib-slim

GHSA-jcrq-r3h2-8wjf

Malicious code in urllib-slim (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 9.31`

## Source: kam193 (acbcedbcc1d5bafffbb66128eae99b1fdc6c8e62b65bedd8f62ee2790919d972)
During installation, the package starts obfuscated code that downloads and runs remote executables in specific environments. In some packages in the campaign, the code only attempts to exfiltrate some basic information using DNS requests and then likely cover tracks by installing a similarly named package from private repository

Related campaigns: 2026-02-spark-audit-notify, 2026-03-geekennedy


---

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


Campaign: 2026-02-urllib-slim


Reasons (based on the campaign):


 - typosquatting


 - Downloads and executes a remote executable.


 - obfuscation


 - dependency-confusion

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/urllib-slim/MAL-2026-1225.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/urllib-slim
- https://github.com/GCLNS
- https://github.com/geekennedy
- https://github.com/loudpage5125
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/urllib-slim/MAL-2026-1225.json
- https://www.virustotal.com/gui/file/d6029cce705b3842042106efb737c8b14eb736fdbfb8d0d03c3dfbc8d6c207a5?nocache=1
- https://github.com/advisories/GHSA-jcrq-r3h2-8wjf

Compromised versions (1)

  • = 9.31

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