Skip to content

Malicious code in doctreelstm (PyPI)

Malware Published Oct 31, 2026 to the GitHub Advisory Database • Updated Oct 31, 2026

Package

pip doctreelstm (pip)

Affected versions

= 1.0.0
= 10.0.0

Patched versions

None

Description

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.


Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Oct 31, 2026
Reviewed Oct 31, 2026
Last updated Oct 31, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-5fxv-5qc2-53g8

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.