MAL-2026-18430

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/doctreelstm/MAL-2026-18430.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18430
Published
2026-10-31T13:39:43Z
Modified
2026-10-31T14:15:03Z
Summary
Malicious code in doctreelstm (PyPI)
Details

-= 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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "pypi/GENERIC-standard-pypi-install-pentest/doctreelstm",
            "import_time":  "2026-10-31T14:10:13.667064497Z",
            "modified_time":  "2026-10-31T13:39:43.559865Z",
            "sha256":  "9609b278449fb9d196f4929f422f22288aa202df7b8417d91053ab0180711bb8",
            "source":  "kam193",
            "versions":  [
                "1.0.0",
                "10.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / doctreelstm

Package

Name
doctreelstm
View open source insights on deps.dev
Purl
pkg:pypi/doctreelstm

Affected ranges

Affected versions

1.*
1.0.0
10.*
10.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/doctreelstm/MAL-2026-18430.json"