VYPR

pypi · Malicious package advisory

Malware

easyaillm2

GHSA-p7qc-672p-5q9x

Malicious code in easyaillm2 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 2.0.16`

## Source: amazon-inspector (f532239be50513698758c81009444ff49bcf4a140fab11734107d81c4eab6684)
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.

## Source: kam193 (55831f4426da4aebb6f20ccdd7af6ba0f9a4c847dd92a0a1c3c8e2ad99a11554)
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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/easyaillm2/MAL-2026-5765.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/easyaillm2
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/easyaillm2/MAL-2026-5765.json
- https://pypi.org/project/easyaillm2/2.0.68
- https://www.virustotal.com/gui/file/0649f50ead3695f41c1243883200bdb775410bcd8c8fb88277740a625a154e25
- https://www.virustotal.com/gui/file/1a5beab4a6facb46b4afc5f8526e1327e6c7d740ccaf34c6a921ac18eff29427/detection
- https://www.virustotal.com/gui/file/4c99c8edfc4444f46932f14afccb2952a3850df765765f9ac793d69f318c192f/detection
- https://www.virustotal.com/gui/file/926e8f1a7f349ff1eef31f89fa8ffe265c30b92e310e8bea19962d38f8c32129
- https://github.com/advisories/GHSA-p7qc-672p-5q9x

Compromised versions (1)

  • = 2.0.16

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.