sympy-dev PyPI typosquat installs the XMRig cryptominer
A PyPI typosquat of SymPy was published by the account "Nanit" across four versions on Jan 17, 2026. It fetches a remote JSON config, downloads an ELF, and executes it from a memfd to evade disk-based detection. The payload is XMRig mining Monero on infected developer workstations.
Published 17 Jan 2026
Every version named by the advisory is in the scanner, so a lockfile check finds it directly.
- Severity
- High
- Type
- Typosquat
- Published
- 17 Jan 2026
- Ecosystems
- PyPI
- Detected by
- Socket
- Source
- socket.dev
Typosquat. A package that never had a legitimate version, named to be mistaken for a real one - a misspelling, a lookalike scope, or an impersonated vendor SDK.
The full picture
On January 17, 2026 a PyPI publisher operating as Nanit pushed four versions of sympy-dev (1.2.3 through 1.2.6), a typosquat of the real sympy symbolic-math library. The package was advertised as a development snapshot and reached PyPI's normal search results before Socket flagged it.
The loader fetches a remote JSON config, pulls down a Linux ELF binary, and executes it via memfd_create so the payload never touches disk. The binary is XMRig, a Monero cryptominer, configured to mine to wallets controlled by the publisher.
Resource theft is the headline impact, but the technique - in-memory ELF execution to defeat file-based EDR - is the more useful indicator for defenders. CI runners that resolved the typosquat will show unexplained outbound traffic to 63.250.56.54 and 185.167.99.46, plus memfd: entries in /proc/*/maps on Linux. The real package is sympy (no suffix); audit requirements.txt and pyproject.toml for sympy-dev anywhere.
1 package 4 versions
These are usually pulled in as transitive dependencies rather than installed directly. Check your whole tree at once. It runs in your browser and nothing is uploaded.
What it does if you installed it
- In-memory ELF execution via memfd_create bypasses file-based EDR
- Compromised developer hosts mine Monero for the attacker
- Resource theft on CI runners that resolved the typosquat
Clean-up steps
- Remove sympy-dev wherever installed; the real package is
sympy - Hunt for outbound traffic to 63.250.56.54 and 185.167.99.46
- Check for unexpected memfd-backed processes on Linux build hosts
Sources
Check your lockfile against this and every other incident.
Paste a lockfile and it is matched on your own device against every compromised version we track. Nothing is uploaded and there is no account.