govpkg
Affected
- Versions:
0.1.0,0.2.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in govpkg (PyPI)
---
_-= Per source details. Do not edit below this line.=-_
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):
Not rated by the source.
0.1.0, 0.2.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0