mflux-streamlit (PyPI) · Malicious Code
Affects mflux-streamlitSource GCVE Database
Malicious package : remove mflux-streamlit and rotate any secrets on hosts that installed it.
Data as of 9 Jul 2026, 10:04 UTC
Malicious package
Published to PyPI · OSV MAL-2026-5301
What to do
Remove mflux-streamlit 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
| Product | Affected | Fixed in |
|---|---|---|
| PyPImflux-streamlit | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The mflux-streamlit PyPI package versions 0.0.3 and 0.0.4 were found to contain malicious code that acts as an obfuscated infostealer. This malicious code executes via the Bun runtime on Python startup and collects sensitive data such as API keys, package repository credentials, cryptocurrency assets, and password manager information. It also queries online services for additional secrets, attempts persistence, and spreads by publishing infected packages using stolen credentials. The malware may wipe user data if invalid GitHub tokens are detected. This threat is linked to the Mini Shai Hulud campaign and includes sandbox detection and destructive actions.
References
- socket.dev/blog/mini-shai-hulud-campaign-hits-red-hat-cloud-services-npm-packages (opens in a new tab)
- bad-packages.kam193.eu/pypi/campaign/2026-06-compr-woodpecker (opens in a new tab)
- socket.dev/blog/shai-hulud-descends-to-hades-miasma-pypi-wave (opens in a new tab)
- o3.security/blog/pypi-supply-chain-attack-pth-file-miasma (opens in a new tab)
- socket.dev/blog/mini-shai-hulud-miasma-and-hades-worms-target-bioinformatics-and-mcp-developers-via-malicious (opens in a new tab)
- pypi.org/project/mflux-streamlit/0.0.4/ (opens in a new tab)
- pypi.org/project/mflux-streamlit/0.0.3/ (opens in a new tab)