pypi · Malicious package advisory
Malware123bla
GHSA-j8j8-gvx2-m7ww
Malicious code in 123bla (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` --- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (d085ff0850c519ea81f21c8be37968a923d4d162e126c3ded06c482b7bdadd36) Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose. --- 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-standard-pypi-install-pentest 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. - The package overrides the install command in setup.py to execute malicious code during installation. ## Source: ossf-package-analysis (482493bb0425cda1267f50c860740681a8c0e91958623ed8d949b9db65b2e4a9) The OpenSSF Package Analysis project identified '123bla' @ 0.0.1 (pypi) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. **References:** - https://bad-packages.kam193.eu/pypi/package/123bla - https://github.com/ossf/malicious-packages/blob/59e9fd7d5ff138803baea71d5df869fe93d62782/osv/malicious/pypi/123bla/MAL-2024-10238.json - https://github.com/ossf/malicious-packages/blob/752e8a991f186423e3415980200bebfec22d1070/osv/malicious/pypi/123bla/MAL-2024-10238.json - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/123bla/MAL-2024-10238.json - https://github.com/advisories/GHSA-j8j8-gvx2-m7ww
Compromised versions (1)
- = 0.0.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.