---
id: "MAL-2026-18095"
kind: "package"
aliases: ["MAL-2026-18095"]
title: "Malicious code in resion (PyPI)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "resion", "fixed": [], "affected": "= 22.0.1", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-20T13:16:36+00:00"
first_seen_at: "2026-10-26T20:52:00+00:00"
updated_at: "2026-10-26T21:05:48+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18095", "first_seen_at": "2026-10-26T20:52:00+00:00"}]
---

# Malicious code in resion (PyPI)

## Affected

- pypi:resion affected = 22.0.1 fixed ?

## Timeline

- 2026-10-26T20:52:00+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18095

## From the sources

---
_-= Per source details. Do not edit below this line.=-_

## Source: kam193 (2e9e3ce373adb26e45616eec47d727e557f5a696737cb2fbcaa66fb7dc7b7c3e)
Description: In this campaign, the main package (resion) has an embeded pickle disguised as a config. A related dependency (pafex) contains code to load the pickle. During unpickling, malicious code embeded in the pickle file is automatically executed. It then establishes persistence via a PTH file and downloads the next stage payload. During analysis, the final remote payload was just a stub


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2026-10-webreader


Reasons (based on the campaign):


 - files-exfiltration


 - obfuscation


 - The malicious code is intentionally included in a dependency of the package


 - Downloads and executes a remote malicious script.


 - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.


 - rat


 - persistence


 - abuses-pth

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
