pypi · Malicious package advisory
Malwarekotlin-stdlib-jdk8
GHSA-m6g2-gvxg-3rv6
Malicious code in kotlin-stdlib-jdk8 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 99.1.1` ## Source: kam193 (f217cf2fd34c9cab642b70bd9d778e6ef08a3dfba1954060a29983f2d3e6d47e) Importing the module triggers sending out the hostname to the package author. It looks to be a placeholder/pentest activity related to BytedDance. --- 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: 2024-11-0wn-sh Reasons (based on the campaign): - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/kotlin-stdlib-jdk8/MAL-2025-939.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/kotlin-stdlib-jdk8 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/kotlin-stdlib-jdk8/MAL-2025-939.json - https://github.com/advisories/GHSA-m6g2-gvxg-3rv6
Compromised versions (1)
- = 99.1.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.