pypi · Malicious package advisory
Malwarepython-alibabacloud-sdk-core
GHSA-fwjv-259f-6m3w
Malicious code in python-alibabacloud-sdk-core (PyPI)
Details
**Severity:** Critical **Affected versions:** `> 0` ## Source: google-open-source-security (1384f0a4ed6515eb7e720621346f74f53217b73863f4c5e3cda4fc90b52f49e3) Attack targeted at users of Alibaba, AWS and Telegram via malicious packages published to PyPI. The malicious code was hidden in strategicly chosen functions and would only trigger when these functions were called. The malicious code does not automatically run on install or import, helping the packages evade detection. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-alibabacloud-sdk-core/MAL-2023-8362.json)) **References:** - https://blog.phylum.io/cloud-provider-credentials-targeted-in-new-pypi-malware-campaign - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-alibabacloud-sdk-core/MAL-2023-8362.json - https://github.com/advisories/GHSA-fwjv-259f-6m3w
Compromised versions (1)
- > 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.