pypi · Malicious package advisory
Malwarekrbutils
GHSA-p323-6gf5-2j5c
Malicious code in krbutils (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (ef5a16574ecd987f57925735cdbeb06062b47dc13fda6c1f30a68e9aba9571ad) Package is a typosquatting or dependency confusion attempt with a low-harm local-only action, like leaving a flag file. --- Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities. Campaign: GENERIC-local-typosquatting Reasons (based on the campaign): - dependency-confusion - The package overrides the install command in setup.py to execute malicious code during installation. - typosquatting ## Source: ossf-package-analysis (c0f412fad7f706349e43d478e81c92945192f9e812e50d5dcdac93f50fb809ef) The OpenSSF Package Analysis project identified 'krbutils' @ 1.0.0 (pypi) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/krbutils/MAL-2026-863.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/krbutils - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/krbutils/MAL-2026-863.json - https://github.com/advisories/GHSA-p323-6gf5-2j5c
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.