pypi · Malicious package advisory
Malwarelog-guru
GHSA-2gmj-mqv3-mfxq
Malicious code in log-guru (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.7.8` ## Source: kam193 (6da98c6d79df38328235bb1df969316bd484b2a02594f8656772cd9a1e48f16b) The typosquatted package installs a Mythic/Poseidon C2 framework beacon and ensures 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 --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/log-guru/MAL-2026-10688.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/log-guru - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/log-guru/MAL-2026-10688.json - https://www.virustotal.com/gui/file-analysis/ZjIzNWQzZmZhYmMyZmQ5Njg3MWI4MmQ5OTMzYTc3YzU6MTc4NDAyMjgxMA== - https://www.virustotal.com/gui/file/15378a183d833832b41cf28f061d6108e0145b81a8faf82f5d860828a0b99584/detection - https://www.virustotal.com/gui/file/b60ead7581e0d36d47d2362a6843f6ffa3d5748fe7e3a76eef2942d13b3b0613/detection - https://github.com/advisories/GHSA-2gmj-mqv3-mfxq
Compromised versions (1)
- = 0.7.8
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.