modern-csv (PyPI) · Malicious Code
Affects modern-csvSource GCVE Database
Malicious package : remove modern-csv and rotate any secrets on hosts that installed it.
Data as of 3 Dec 2026, 19:16 UTC
Malicious package
Published to PyPI · OSV MAL-2026-21051
What to do
Remove modern-csv 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 |
|---|---|---|
| PyPImodern-csv | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (f33c6b913e14d8c9361576963dc9637e139de922a26da03eb615052fe06ef3b7) Package silently executes remote script, which then reports home and establishes a Cloudflare tunnel allowing for backdoor access to the environment. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-12-modern-csv Reasons (based on the campaign): - Downloads and executes a remote malicious script. - backdoor