instantscrape (PyPI) · Malicious Code
Affects instantscrapeSource GCVE Database
Malicious package : remove instantscrape and rotate any secrets on hosts that installed it.
Data as of 21 Nov 2026, 13:43 UTC
Malicious package
Published to PyPI · OSV MAL-2026-20322
What to do
Remove instantscrape 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 |
|---|---|---|
| PyPIinstantscrape | 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 instantscrape package on PyPI contains embedded malicious code that executes during installation or import. This code acts as an infostealer, exfiltrating files and using obfuscation to evade detection. The malicious behavior is triggered by overriding the install command in setup.py. Versions 0.1.0, 0.1.5, and 0.1.8 of instantscrape are affected.