pypi · Malicious package advisory
Malwarerequests-auth-toolkit
GHSA-p528-2562-pwr5
Malicious code in requests-auth-toolkit (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.1.0` ## Source: kam193 (03bb4c04410c4e3c58d7292eb47f8f76a2fbe5265abea29826ac910e890350d0) During installation, package installs a script that listens for remote commands and executes them. The script is also added to autostart configuration and disguised as system application. This package also adds a new SSH keys for further persistence --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-devtools-webhook-cicd-utils Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. - peristence-autorun - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - obfuscation --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requests-auth-toolkit/MAL-2026-847.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/requests-auth-toolkit - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requests-auth-toolkit/MAL-2026-847.json - https://github.com/advisories/GHSA-p528-2562-pwr5
Compromised versions (1)
- = 2.1.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.