Skip to main content
VulnerabilityPublished

Malicious PyPI Package Impersonates SymPy, Deploys XMRig Miner on Linux Hosts

Source The Hacker News

0
Severity
Medium

Rated by Threat Radar

Data as of 29 Jan 2026, 08:59 UTC

What to do

AI-suggested

European organizations should implement strict controls on third-party Python package usage. This includes enforcing the use of trusted package sources and verifying package authenticity through cryptographic signatures or hash checks before installation. Employing tools like PyPI package reputation scanners and dependency vulnerability analyzers can help detect suspicious packages. Monitoring network traffic for unusual connections to known malicious IPs or Stratum mining pools (e.g., port 3333 over TLS) can identify active cryptomining. Endpoint detection solutions should be configured to detect in-memory execution techniques and anomalous Python process behaviors. Integrating runtime application self-protection (RASP) or behavior-based anomaly detection can help identify conditional malicious code execution. Organizations should also educate developers about the risks of installing unverified packages and encourage the use of virtual environments with strict dependency controls. Regular audits of installed packages and automated alerts for new or unexpected dependencies are recommended. Finally, reporting and collaborating with PyPI maintainers to remove malicious packages promptly is critical to reducing exposure.

Description

A new malicious package discovered in the Python Package Index (PyPI) has been found to impersonate a popular library for symbolic mathematics to deploy malicious payloads, including a cryptocurrency miner, on Linux hosts. The package, named sympy-dev, mimics SymPy, replicating the latter's project description verbatim in an attempt to deceive unsuspecting users into thinking that they are

References

Community reviews

Loading reviews…