pypi · Malicious package advisory
Malwarepython-aliyun-sdk-core
GHSA-6q94-x85g-h54v
Malicious code in python-aliyun-sdk-core (PyPI)
Details
**Severity:** Critical **Affected versions:** `> 0` ## Source: checkmarx (63f6387d6bfe7ae582be4478cf6a42a8104b44ea50b22489f5217ba2bfb3ce39) Malicious Typosquatting packages campaign targeting developers, steals cloud service credentials ## Source: google-open-source-security (100a505969357acd1d756a9df7eeb9150e1ffa1044b22cd739c11aab0b6c5d92) 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-aliyun-sdk-core/MAL-2023-8364.json)) **References:** - https://checkmarx.com/blog/users-of-telegram-aws-and-alibaba-cloud-targeted-in-latest-supply-chain-attack - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-aliyun-sdk-core/MAL-2023-8364.json - https://medium.com/checkmarx-security/users-of-telegram-aws-and-alibaba-cloud-targeted-in-latest-supply-chain-attack-f44e60eacbdd - https://github.com/advisories/GHSA-6q94-x85g-h54v
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.