pymatcha (PyPI) · Malicious Code
Affects pymatchaSource GCVE Database
Malicious package : remove pymatcha and rotate any secrets on hosts that installed it.
Data as of 14 Nov 2026, 23:53 UTC
Malicious package
Published to PyPI · OSV MAL-2024-12332
What to do
Remove pymatcha from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpymatcha | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The pymatcha package on PyPI contains malicious code that downloads and executes an infostealer when imported. This behavior has been widely detected by antivirus and sandbox tools. The campaign associated with this threat is named 2024-08-embeds-RealtekHDAudioManager and is characterized by its clear malicious intent to steal information.
References
- virustotal.com/gui/file/249c91245c949e8e7cc7f4bd3d6aef9b354c1d249fc3097b0363862ed7269886 (opens in a new tab)
- tria.ge/240904-zj4b6awckl/behavioral1 (opens in a new tab)
- virustotal.com/gui/file/62a7ed6c03d5e519cc5121fe8ad967bdadbbda106a3250b03ab50fb10457ed37 (opens in a new tab)
- tria.ge/240913-pcqgls1cna (opens in a new tab)
- bad-packages.kam193.eu/pypi/package/pymatcha (opens in a new tab)