---
id: "MAL-2026-18430"
kind: "package"
aliases: ["MAL-2026-18430"]
title: "Malicious code in doctreelstm (PyPI)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "doctreelstm", "fixed": [], "affected": "= 1.0.0; = 10.0.0", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-31T13:39:43+00:00"
first_seen_at: "2026-10-31T14:35:53+00:00"
updated_at: "2026-10-31T14:46:25+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18430", "first_seen_at": "2026-10-31T14:35:53+00:00"}]
---

# Malicious code in doctreelstm (PyPI)

## Affected

- pypi:doctreelstm affected = 1.0.0; = 10.0.0 fixed ?

## Timeline

- 2026-10-31T14:35:53+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18430

## From the sources

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

## Source: kam193 (9609b278449fb9d196f4929f422f22288aa202df7b8417d91053ab0180711bb8)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: GENERIC-standard-pypi-install-pentest


Reasons (based on the campaign):


 - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.


 - The package overrides the install command in setup.py to execute malicious code during installation.

---

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