cvelo
P2 · HighMalware

Malicious code in doctreelstm (PyPI)

  • GHSA-5fxv-5qc2-53g8

Description

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](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/f949d2cef0ed2750153c43b44f46e50e1f26a19f/osv/malicious/pypi/doctreelstm/MAL-2026-18430.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • doctreelstmPyPI

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.