Skip to main content
MalwarePublished Updated

phenopacket-store-toolkit (PyPI) · Malicious Code

Affects phenopacket-store-toolkitSource GCVE Database

0

Malicious package : remove phenopacket-store-toolkit and rotate any secrets on hosts that installed it.

Data as of 9 Jul 2026, 09:52 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-5322

What to do

Remove phenopacket-store-toolkit 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.

Upgrade phenopacket-store-toolkit to 0.1.8.

Affected software

ProductAffectedFixed in
PyPIphenopacket-store-toolkitAffected
  • >=0.1.7 <0.1.8
  • =0.1.7
Fixed in
  • 0.1.8

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

Description

The phenopacket-store-toolkit Python package version 0.1.7 contains a malicious .pth file that executes a Bun-based JavaScript credential stealer on every Python startup. This stealer downloads the Bun runtime, then runs obfuscated code to exfiltrate environment variables, .env files, SSH keys, cloud credentials, and other sensitive data to an attacker-controlled GitHub repository. It is part of the Hades/Miasma campaign attributed to the TeamPCP threat actor. The malicious code also attempts persistence and spreading by publishing infected packages using stolen credentials and may perform destructive actions if invalid GitHub tokens are detected.

References

Community reviews

Loading reviews…