sympy-devPyPI
Advisory published Updated
sympy-dev is a confirmed malicious PyPI package (MAL-2026-450) that typosquats a legitimate package to trick installs (malicious versions 1.2.3, 1.2.4, 1.2.5…). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in sympy-dev (PyPI)
What this malware does
Package downloads and executes code from remote servers, indicating malicious behavior. Multiple files and IPs involved. Package impersonates popular sympy package.
Malicious versions
Detection & response playbook
TyposquatFind it
Search your lockfiles and build artifacts for sympy-dev (4 malicious versions).
If you installed it — respond
sympy-dev is a typosquat — you almost certainly intended a legitimately-named package. Remove sympy-dev, 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 sympy-dev 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
References
Credits
- SafeDep · finder
Detect & block this
O3 blocks sympy-dev-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.