govpkg (PyPI) · Malicious Code
Affects govpkgSource GCVE Database
Malicious package : remove govpkg and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:00 UTC
Malicious package
Published to PyPI · OSV MAL-2026-10770
What to do
Remove govpkg from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIgovpkg | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The govpkg package on PyPI versions 0.1.0 and 0.2.0 contains malicious code that silently downloads and executes a remote executable. This executable establishes persistence by disguising itself as a system service and connects to a telegra.ph URL, which appears to promote a Telegram channel. The package's behavior is intentionally hidden within its library usage, indicating clear malicious intent.
References
- virustotal.com/gui/file/7bd6824cbcb603a4cc79728985557a74c876db2d1e8a71e2120d79e3e507525a/detection (opens in a new tab)
- app.any.run/tasks/0fc6b9f4-8052-435b-9c0a-3d48dfe79018 (opens in a new tab)
- bad-packages.kam193.eu/pypi/package/govpkg (opens in a new tab)
- pypi.org/project/govpkg/0.1.0/ (opens in a new tab)