VYPR

pypi · Malicious package advisory

Malware

marshmellows

GHSA-4qg2-vm22-q359

Malicious code in marshmellows (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: kam193 (92a41b4a9b9f5733eae9cfa5ca9c6802d52d803a1835820ee5098f58419fc18e)
Package is a typosquatting or dependency confusion attempt with a low-harm local-only action, like leaving a flag file.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: GENERIC-local-typosquatting


Reasons (based on the campaign):


 - dependency-confusion


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - typosquatting

## Source: ossf-package-analysis (9db78f8d3a189592589ea859605c544c51d53a09054e4e109a0cc7824339b46d)
The OpenSSF Package Analysis project identified 'marshmellows' @ 1.0.0 (pypi) as malicious.

It is considered malicious because:

- The package executes one or more commands associated with malicious behavior.

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/marshmellows
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/marshmellows/MAL-2026-905.json
- https://github.com/advisories/GHSA-4qg2-vm22-q359

Compromised versions (1)

  • = 1.0.0

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