MAL-2023-8360 Malicious code in enumerate-iam (PyPI)
Malicious package
Published
MAL-2023-8360 is a malicious package: enumerate-iam (PyPI). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2023-8360/ (Markdown: https://insights.sbomify.com/MAL-2023-8360/index.md)
- Package
- enumerate-iam
- Registry
- PyPI
What is MAL-2023-8360?
MAL-2023-8360 is a malicious package in enumerate-iam, published on 12 Sep 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-8360?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.