MAL-2026-14389 Malicious code in envprovision (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (a414ad5404fdeeb23c37f1580aeee8175765ba8613e8fadd1a0254bf0e25d2f6)
envprovision 1.4.0 presents itself as an environment-diagnostics helper but its public check()/sync() API, on Windows, fetches a JSON manifest from a base64-obfuscated URL that decodes to https://env-metadata.up.railway.app/vbv_a8F3kL92xQ/manifest.json, downloads the referenced binary to a temp path, and executes it. TLS verification is disabled on both the manifest fetch and the binary download (ctx.check_hostname=False, ctx.verify_mode=ssl.CERT_NONE), so the payload can also be substituted by any on-path attacker. The dropped binary is invoked with NSIS silent-install flags (/S, /NCRC) built by character-list concatenation and hidden-window creation flags, then a follow-on syshelpear.exe is spawned detached (CREATE_NO_WINDOW|DETACHED_PROCESS) from a user-writable ProgramFiles/LOCALAPPDATA location as a persistence helper. After execution, wevtutil cl Application and wevtutil cl System are invoked to erase Windows event logs. The endpoint obfuscation, TLS-off fetch-and-execute of an opaque binary from a publisher-mismatched Railway subdomain, silent-install flag assembly, detached helper launch, and anti-forensic log clearing are inconsistent with the advertised diagnostics purpose and constitute an installer-side binary dropper with persistence.
Source: kam193 (cf3a48b407852ec03ead22bb8c16c03f252ba5fafa5c86ed1a739427e7d7d869)
Exported functions hide the malicious functionality. On Windows, it downloads and installs a malicious executable, and disguises it as a system utility. After installation, the code attempts to cover its tracks by cleaning logs and removing downloaded files. The installed executable is a heavily obfuscated malware with multiple sandbox evasion techniques, finally running an infostealer identifying itself as "Snow Stealer". It collects at least browser data and modifies cryptowallet applications.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-08-envprovision
Reasons (based on the campaign):
-
Downloads and executes a remote executable.
-
action-hidden-in-lib-usage
-
covering-tracks
-
persistence
-
The package contains code to detect if it is running in a sandbox environment.
-
obfuscation
-
malware
-
infostealer
-
exfiltration-browser-data
-
exfiltration-crypto
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi envprovision(PyPI) | = 1.2.0; = 1.3.0; = 1.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi envprovision(PyPI) | = 1.2.0 | No fix listed |
| pypi envprovision(PyPI) | = 1.3.0 | No fix listed |
| pypi envprovision(PyPI) | = 1.4.0 | No fix listed |
References
- www.virustotal.com exploit
- www.virustotal.com
- bad-packages.kam193.eu
- pypi.org product
- pypi.org product
- pypi.org product