pypi · Malicious package advisory
Malwarealiyun-oss2
GHSA-46f9-6jf9-j6hf
Malicious code in aliyun-oss2 (PyPI)
Details
**Severity:** Critical **Affected versions:** `> 0` ## Source: checkmarx (8c33f6b28da216b43120a3b8a8537d0263dc1eb2b22979a4183b371ff57b9e0b) Malicious Typosquatting packages campaign targeting developers, steals cloud service credentials ## Source: google-open-source-security (a47b0bcf41b0d36b78b3429f9f22415630b3870da18554d21c2123212bc992f4) 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/aliyun-oss2/MAL-2023-8356.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/aliyun-oss2/MAL-2023-8356.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-46f9-6jf9-j6hf
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.