typosquatting

term

securityprogramming

Kept in this browser · My desk

Publishing a malicious package under a name that is a likely misspelling of a popular one, so that a typing mistake installs it.

PyPI's own example is pyth0n-dateutil for python-dateutil. PyPI rejects new project names that collide with an existing one after normalization (separators removed; l, i and 1, and o and 0, treated as identical) and names of standard library modules, but its documentation says these checks don't catch every typosquat. It also warns about slopsquatting: names a language model invents, which an attacker can register. On your side: install from reviewed requirements files and compare names against an approved list.

Also known as: typo-squatting, typosquat, slopsquatting

← Back to T Back to the glossary