urlllib321PyPI
urlllib321 is a confirmed malicious PyPI package (MAL-2026-6759) that typosquats a legitimate package to trick installs (malicious versions 2.7.0, 2.7.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in urlllib321 (PyPI)
What this malware does
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
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
TyposquatFind it
Search your lockfiles and build artifacts for urlllib321 (2 malicious versions).
If you installed it — respond
urlllib321 is a typosquat — you almost certainly intended a legitimately-named package. Remove urlllib321, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.
Did it already run?
If urlllib321 was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Kamil Mańkowski (kam193) · analyst
Detect & block this
O3 blocks urlllib321-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.