extrahtml (PyPI) · Malicious Code
Affects extrahtmlSource GCVE Database
Malicious package : remove extrahtml and rotate any secrets on hosts that installed it.
Data as of 9 Nov 2026, 00:20 UTC
Malicious package
Published to PyPI · OSV MAL-2026-18771
What to do
Remove extrahtml 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 |
|---|---|---|
| PyPIextrahtml | 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 PyPI package 'extrahtml' versions 0.1.0, 0.1.1, and 0.1.2 include a malicious dependency that masquerades as a YAML loader but executes remote code from a provided file. This campaign, identified as 2026-11-parseyaml, involves intentionally embedded malicious code that downloads and runs a remote malicious script. The analyzed code was a stub, indicating potential for further malicious payloads.