uprobe (PyPI) · Malicious Code
Affects uprobeSource GCVE Database
Malicious package : remove uprobe and rotate any secrets on hosts that installed it.
Data as of 10 Jul 2026, 10:07 UTC
Malicious package
Published to PyPI · OSV MAL-2026-5279
What to do
Remove uprobe 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 |
|---|---|---|
| PyPIuprobe | 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 uprobe PyPI package versions 0.1.3 and 0.1.4 were compromised to include malicious code that executes on every Python interpreter startup. This code downloads and runs an obfuscated JavaScript infostealer using the Bun runtime, collecting sensitive data such as API keys, credentials, cryptocurrency assets, and password manager data. The malware attempts persistence and propagation by publishing infected packages using stolen credentials and may wipe user data if invalid GitHub tokens are detected. The malicious behavior is hidden via obfuscation and uses a sentinel file to evade detection. The package's advertised functionality does not require a JavaScript runtime, indicating the malicious nature of the code.
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/uprobe/0.1.3/ (opens in a new tab)
- pypi.org/project/uprobe/0.1.4/ (opens in a new tab)