resion (PyPI) · Malicious Code
Affects resionSource GCVE Database
Malicious package : remove resion and rotate any secrets on hosts that installed it.
Data as of 29 Oct 2026, 18:07 UTC
Malicious package
Published to PyPI · OSV MAL-2026-18095
What to do
Remove resion 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 |
|---|---|---|
| PyPIresion | 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 'resion' version 22.0.1 contains malicious code embedded in a dependency named 'pafex'. This dependency loads a disguised pickle file that executes malicious code upon unpickling. The malicious payload establishes persistence on the victim's machine via a PTH file and downloads a secondary payload. The campaign associated with this package involves file exfiltration, obfuscation, remote command execution, and remote access trojan (RAT) behavior. The final remote payload observed was a stub, indicating potential further stages. No patch or fix information is provided.