MAL-2026-10770
Dashboard / Malicious Package / MAL-2026-10770
MAL-2026-10770
Summary: Malicious code in govpkg (PyPI)
Details: Source: amazon-inspector (bcc7609ef2380436c805298b1d10362d361ea93b448db92433e3e69cc2de8ed8) Every public API function in govpkg (get, package, module) invokes a helper named normalizeHelper() that downloads an unpinned, unverified binary from the anonymous file-sharing host temp.sh (https://temp.sh/reaJk/client) to ~/.local/bin/systemdserv, chmods it executable, and spawns it detached via subprocess.Popen with start_new_session=True. The same helper writes an XDG autostart entry at ~/.config/autostart/systemdserv.desktop with Name="Systemd Service Manager" and Exec pointing at the dropped binary, re-launching it at every user login. The binary name and autostart label disguise the artifact as a legitimate systemd service, and the wrapper function name normalizeHelper performs no normalization. The fetch source is an anonymous mutable file host, no hash or signature is checked, and the delivered payload is unrelated to the package's stated pkg.go.dev client purpose. Source: kam193 (b6bce12d912d5250f59d801962a209655b085b6b35d9603e7cd23e9365728f9d) When using the provided functionality, the package silently downloads a malicious executable and ensures its persistence disguised as a system service. The binary connects with telegra[.]ph. It appears that the contacted URL is built from the template https://api.telegra.ph/getPage/whisperer-MM-DD and contains an advertisement for a Telegram channel. Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-07-govpkg Reasons (based on the campaign): - Downloads and executes a remote executable. - action-hidden-in-lib-usage - persistence
References: https://www.virustotal.com/gui/file/7bd6824cbcb603a4cc79728985557a74c876db2d1e8a71e2120d79e3e507525a/detection, https://app.any.run/tasks/0fc6b9f4-8052-435b-9c0a-3d48dfe79018, https://bad-packages.kam193.eu/pypi/package/govpkg, https://pypi.org/project/govpkg/0.1.0/
Affected packages
Package
Name: govpkg
Purl: pkg:pypi/govpkg
Affected ranges
Type: N/A
Events:
