executor-engine (PyPI) · Malicious Code
Affects executor-engineSource GCVE Database
Malicious package : remove executor-engine 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-5298
What to do
Remove executor-engine 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 |
|---|---|---|
| PyPIexecutor-engine | 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 executor-engine PyPI package versions 0.3.4 and 0.3.5 contain a malicious site-packages.pth file that executes obfuscated code on every Python interpreter start. This code downloads and runs a JavaScript infostealer using the Bun runtime, which collects sensitive data including API keys, credentials, cryptocurrency assets, and password manager data. The malicious code attempts persistence and propagation by publishing infected packages using stolen credentials and may perform destructive actions if invalid GitHub tokens are detected. The compromise appears to be a repackaging of a legitimate release with added malicious payloads, linked to the Mini Shai Hulud campaign.
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/executor-engine/0.3.4/ (opens in a new tab)
- pypi.org/project/executor-engine/0.3.5/ (opens in a new tab)