{"id":"MAL-2026-6759","summary":"Malicious code in urlllib321 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (376c7a8609fa48f74e0229f95c4fe5a4e4a4c94e923da4ed11e8a1f475807127)\nPackage is a typosquatting or dependency confusion attempt with a low-harm local-only action, like leaving a flag file.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-local-typosquatting\n\n\nReasons (based on the campaign):\n\n\n - dependency-confusion\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - typosquatting\n","modified":"2026-07-05T01:00:55.173405615Z","published":"2026-07-04T23:27:55Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","versions":["2.7.0","2.7.1"],"id":"pypi/GENERIC-local-typosquatting/urlllib321","import_time":"2026-07-05T00:48:54.770268992Z","modified_time":"2026-07-04T23:27:56.341148Z","sha256":"376c7a8609fa48f74e0229f95c4fe5a4e4a4c94e923da4ed11e8a1f475807127"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/urlllib321"}],"affected":[{"package":{"name":"urlllib321","ecosystem":"PyPI","purl":"pkg:pypi/urlllib321"},"versions":["2.7.0","2.7.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/urlllib321/MAL-2026-6759.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}