VYPR

pypi · Malicious package advisory

Malware

data-parser-utils

MAL-2026-10780

Malicious code in data-parser-utils (PyPI)

Details


---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (e63ddac8a229de35d497a342d918dbf4255d76e932db5ac33f1cf7db1a9e1939)
The package's advertised parse_xml/parse_json functions invoke an internal _check_environment() routine that, after a host-uptime sandbox-evasion gate (>300 seconds; reads /proc/uptime on Linux, GetTickCount64 on Windows, sysctl kern.boottime on macOS), fetches a hex-encoded URL resolving to https://cdn.jsdelivr.net/gh/cryptonomad411/cool-utils/package.json, reads an OS/arch-keyed payload URL from that JSON, downloads the payload to /tmp/update (Linux/macOS) or %TEMP%/g.jse (Windows), and executes it via a Popen call using base64-encoded Python that urlretrieves and cscript-executes the dropper. The payload then installs cross-platform persistence: on Linux it writes a randomly-named unit to ~/.config/systemd/user/*.service and enables it via `systemctl --user enable --now`; on macOS it drops a random ~/Library/LaunchAgents/*.plist with RunAtLoad=true and launchctl-loads it; a ~/.cache/.<hostname>.lock mutex prevents re-runs. The stage-1 dispatcher URL, the string 'subprocess', shell commands (`wget -q -O /tmp/update`, `curl -s -o /tmp/update`), and the Windows dropper one-liner are stored as hex and base64 literals decoded at runtime, with no legitimate purpose for a JSON/XML parser.

## Source: kam193 (55aca4874dc8f9716a1fb1dc61088cf485bee1b7a1ec8a5dc8c19aabff2c71fd)
If using the provided functionality like `parse_json` or `parse_xml` functions, the package will install a Mythic/Poseidon C2 framework beacon and ensure its persistence. After installation, the beacon communicates with C2 on wegoexchange[.]site for further commands.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2026-07-tennacity


Reasons (based on the campaign):


 - typosquatting


 - Downloads and executes a remote executable.


 - The package contains code to detect if it is running in a sandbox environment.


 - malware


 - persistence

Compromised versions (1)

  • 2.4.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.