Malicious code in uprobe (PyPI)
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.
AI Analysis
Technical Summary
The compromised uprobe PyPI package installs a .pth file that auto-loads on Python startup, aliasing standard library modules to obfuscated names and executing a payload guarded by a sentinel file. This payload downloads the Bun JavaScript runtime from GitHub, sets execution permissions, and runs a bundled obfuscated JavaScript infostealer. The infostealer collects a wide range of sensitive information including environment variables, cloud tokens, credentials, cryptocurrency assets, and password manager data. It also attempts to gain persistence and spread by publishing infected packages using stolen credentials. The malware includes destructive capabilities, threatening data wiping if invalid GitHub tokens are detected. This campaign is linked to the Mini Shai Hulud campaign and exhibits canonical evasion techniques such as obfuscation, sandbox detection, and execution outside build isolation.
Potential Impact
Sensitive data including API keys, package repository credentials, cryptocurrency assets, and password manager information can be stolen. The malware can exfiltrate data likely via GitHub and attempts to maintain persistence and propagate by publishing infected packages. There is a risk of destructive actions such as data wiping if invalid GitHub tokens are detected. This compromises the confidentiality and integrity of affected systems and user data.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately uninstall versions 0.1.3 and 0.1.4 of the uprobe package. Inspect systems for presence of the /tmp/.bun_ran sentinel file and the Bun runtime in /tmp/b/bun, and remove any related files. Exercise caution during cleanup due to potential destructive payloads. Monitor for suspicious package publishing activity using stolen credentials. Check vendor advisories or PyPI security notices for updates or official remediation guidance.
Malicious code in uprobe (PyPI)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The compromised uprobe PyPI package installs a .pth file that auto-loads on Python startup, aliasing standard library modules to obfuscated names and executing a payload guarded by a sentinel file. This payload downloads the Bun JavaScript runtime from GitHub, sets execution permissions, and runs a bundled obfuscated JavaScript infostealer. The infostealer collects a wide range of sensitive information including environment variables, cloud tokens, credentials, cryptocurrency assets, and password manager data. It also attempts to gain persistence and spread by publishing infected packages using stolen credentials. The malware includes destructive capabilities, threatening data wiping if invalid GitHub tokens are detected. This campaign is linked to the Mini Shai Hulud campaign and exhibits canonical evasion techniques such as obfuscation, sandbox detection, and execution outside build isolation.
Potential Impact
Sensitive data including API keys, package repository credentials, cryptocurrency assets, and password manager information can be stolen. The malware can exfiltrate data likely via GitHub and attempts to maintain persistence and propagate by publishing infected packages. There is a risk of destructive actions such as data wiping if invalid GitHub tokens are detected. This compromises the confidentiality and integrity of affected systems and user data.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately uninstall versions 0.1.3 and 0.1.4 of the uprobe package. Inspect systems for presence of the /tmp/.bun_ran sentinel file and the Bun runtime in /tmp/b/bun, and remove any related files. Exercise caution during cleanup due to potential destructive payloads. Monitor for suspicious package publishing activity using stolen credentials. Check vendor advisories or PyPI security notices for updates or official remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5279
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba8f68715ace435821e6
Added to database: 07/10/2026, 09:25:35 UTC
Last enriched: 07/10/2026, 10:07:44 UTC
Last updated: 07/29/2026, 16:31:33 UTC
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.