VYPR

pypi · Malicious package advisory

Malware

marshmellow

GHSA-gg4g-7x5p-q7wx

Malicious code in marshmellow (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: kam193 (dbf6f50353e6489a831a2575831b93fd5f99a9cbd60cc30260fd13838beda73f)
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 (385a79bb53771282b64601f5a3b17f0d7a3d735efbf863584f0dd2755bc2bf08)
The OpenSSF Package Analysis project identified 'marshmellow' @ 1.1.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/marshmellow/MAL-2026-864.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/marshmellow
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/marshmellow/MAL-2026-864.json
- https://github.com/advisories/GHSA-gg4g-7x5p-q7wx

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.