# MAL-2026-5765: Malicious code in easyaillm2 (PyPI)


- **Type:** Malicious package
- **Package:** `easyaillm2` (PyPI)
- **Published:** 14 Jun 2026

## What is MAL-2026-5765?

MAL-2026-5765 is a malicious package in easyaillm2, published on 14 Jun 2026. 

### Official description

On `pip install easyaillm2`, setup.py fetches a raw text body from https://pastebin.com/raw/yBcUM1QB and passes the first line directly to `os.system('cmd /c "..."')`, executing whatever the mutable, anonymous Pastebin paste currently serves with the installer's privileges. There is no integrity check, no version pinning, and no relationship between the destination and any legitimate publisher. The package itself ships no module code (the source tree contains only egg-info), and its name/description mimic LLM-tooling naming (`easyaillm2` / `easyllama2`) — the install-time Pastebin dropper is the package's only behavior. A Pastebin owner can swap the payload at any moment, turning every future `pip install` of this version into arbitrary remote code execution on the installer's machine.

During installation, the code attempts to download and start a malicious executable.

Likely related to 2025-08-raknet-testing-package.

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-06-easyaillm

Reasons (based on the campaign):

 - Downloads and executes a remote executable.

 - obfuscation

 - malware

 - tool:mshta

## What should I do about MAL-2026-5765?

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-5765 is a malicious package: easyaillm2 (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-5765/ (Markdown: https://insights.sbomify.com/MAL-2026-5765/index.md)
```

## Sources

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

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