MAL-2026-6488 Malicious code in pyext6cc8cd (PyPI)
Malicious package
Published
MAL-2026-6488 is a malicious package: pyext6cc8cd (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-2026-6488/ (Markdown: https://insights.sbomify.com/MAL-2026-6488/index.md)
- Package
- pyext6cc8cd
- Registry
- PyPI
What is MAL-2026-6488?
MAL-2026-6488 is a malicious package in pyext6cc8cd, published on 25 Jun 2026.
Official description
On
pip install, setup.py decodes a hex string via bytes.fromhex("6f70656e202d612043616c63756c61746f72").decode().split() to the argv open -a Calculator and executes it through subprocess.Popen before setuptools.setup() is called. The command runs unconditionally as part of the install lifecycle. The package metadata is placeholder (Author, Home-page, and Description are all 'UNKNOWN') and the package ships no functional code, so this is a proof-of-concept / test artifact demonstrating arbitrary install-time command execution. While the decoded payload here only opens macOS Calculator, the hex obfuscation of the argv is a deliberate technique to evade scanners that grep setup.py for literal command strings, and the same primitive trivially swaps to a destructive or exfiltration payload. Installers should treat this version as untrusted install-time code execution.What should I do about MAL-2026-6488?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.