pypi · Malicious package advisory
Malwareurlllib321
GHSA-mx26-7rwg-qvqq
Malicious code in urlllib321 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.7.0` ## Source: kam193 (376c7a8609fa48f74e0229f95c4fe5a4e4a4c94e923da4ed11e8a1f475807127) Package is a typosquatting or dependency confusion attempt with a low-harm local-only action, like leaving a flag file. --- 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: GENERIC-local-typosquatting Reasons (based on the campaign): - dependency-confusion - The package overrides the install command in setup.py to execute malicious code during installation. - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/urlllib321/MAL-2026-6759.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/urlllib321 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/urlllib321/MAL-2026-6759.json - https://github.com/advisories/GHSA-mx26-7rwg-qvqq
Compromised versions (1)
- = 2.7.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.