pypi · Malicious package advisory
Malwarescraper-npm
GHSA-q286-8r58-xpfm
Malicious code in scraper-npm (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.4` ## Source: kam193 (5705e85e8288aeffbfe964329624dcbb5b2e30cebb0023da5b605ee5fb0aef4e) During import, the package exfiltrates files (especially .env and JSON) and eventually configures a backdoor by adding its own SSH key to the authorized_keys. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-scraper-npm Reasons (based on the campaign): - files-exfiltration - backdoor - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/scraper-npm/MAL-2026-1000.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/scraper-npm - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/scraper-npm/MAL-2026-1000.json - https://github.com/advisories/GHSA-q286-8r58-xpfm
Compromised versions (1)
- = 1.0.4
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.