MAL-2023-8368 Malicious code in python-cos-sdk-v5 (PyPI)

Malicious package Published
Package
python-cos-sdk-v5
Registry
PyPI

What is MAL-2023-8368?

MAL-2023-8368 is a malicious package in python-cos-sdk-v5, published on 11 Aug 2023.

Official description

Malicious Typosquatting packages campaign targeting developers, steals cloud service credentials

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.

What should I do about MAL-2023-8368?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2023-8368 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free