Skip to main content
MalwarePublished

extra-huggingface (PyPI) · Malicious Code

Affects extra-huggingfaceSource GCVE Database

0

Malicious package : remove extra-huggingface and rotate any secrets on hosts that installed it.

Data as of 26 Jun 2026, 22:36 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-6489

What to do

Remove extra-huggingface from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
PyPIextra-huggingfaceAffected
  • =0.4.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The extra-huggingface package on PyPI is a malicious typosquatting package impersonating the Hugging Face ecosystem. It contains a remote access trojan (RAT) implemented via a large native Windows binary that connects to an attacker-controlled server to receive and execute commands. The package installs persistence mechanisms to survive system reboots and exfiltrates sensitive data, including browser information. It masquerades as an educational tool but is designed for malicious purposes such as data theft and unauthorized remote control.

References

Community reviews

Loading reviews…