pypi · Malicious package advisory
Malwarerequests-core-plugin
GHSA-r5hp-phw8-546r
Malicious code in requests-core-plugin (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.31.5` ## Source: kam193 (f7d809caa4cb4961377b3c02a06f90ce19136a36297191248a8c6cd289a809f2) During installation, package loads obfuscated code that then downloads and starts an executable. The final executable is identified as malware and appears to have infostealer capabilities (collecting browser and Discord data). --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-requests-core-plugin Reasons (based on the campaign): - malware - The package overrides the install command in setup.py to execute malicious code during installation. - impersonation - obfuscation - infostealer --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requests-core-plugin/MAL-2026-843.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/requests-core-plugin - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requests-core-plugin/MAL-2026-843.json - https://www.virustotal.com/gui/file/1cd70bec8a88fe5b4734ee6483aa33ec79da1b6a48cb8db77bd28bc70d58c235/detection - https://github.com/advisories/GHSA-r5hp-phw8-546r
Compromised versions (1)
- = 2.31.5
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.