Cyber Risks · The Hacker News

Malicious PyPI Package Impersonates Sym Py, Deploys XMRig Miner on Linux Hosts

Summary: A PyPI package named sympy-dev impersonated the SymPy symbolic mathematics library, copying its project description verbatim to pass as a development version, and was downloaded over 1,100 times after its January 17, 2026 publication. Socket found the modified library acts as a downloader that fetches a remote JSON configuration and an ELF payload from 63.250.56[.]54 and runs it in memory via memfd_create and /proc/self/fd, deploying XMRig miners on Linux hosts; the package was removed from PyPI as of January 24, 2026.

Why it matters: The implant is a general-purpose loader that executes arbitrary second-stage code with the privileges of the Python process, so the cryptomining observed here is only the payload Socket happened to see. More than 1,100 downloads occurred before removal, and the malicious functions fired only when specific polynomial routines were called, which kept the package from standing out during casual review.

Read the original at The Hacker News ↗

Topics
Threat Actors & Nation-State
Related