MAL-2026-10780
Dashboard / Malicious Package / MAL-2026-10780
MAL-2026-10780
Summary: Malicious code in data-parser-utils (PyPI)
Details: 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
References: https://www.virustotal.com/gui/file/b60ead7581e0d36d47d2362a6843f6ffa3d5748fe7e3a76eef2942d13b3b0613/detection, https://www.virustotal.com/gui/file-analysis/ZjIzNWQzZmZhYmMyZmQ5Njg3MWI4MmQ5OTMzYTc3YzU6MTc4NDAyMjgxMA==, https://www.virustotal.com/gui/file/15378a183d833832b41cf28f061d6108e0145b81a8faf82f5d860828a0b99584/detection, https://bad-packages.kam193.eu/pypi/package/data-parser-utils, https://pypi.org/project/data-parser-utils/2.4.1/
Affected packages
Package
Name: data-parser-utils
Purl: pkg:pypi/data-parser-utils
Affected ranges
Type: N/A
Events:
