MAL-2026-21001

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pylithium/MAL-2026-21001.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21001
Published
2026-12-02T23:34:30Z
Modified
2026-12-03T00:45:02Z
Summary
Malicious code in pylithium (PyPI)
Details

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

Source: kam193 (2f51b14434c08a91567d8fae4e4860edec5d621a7f0d2dcde4dac193b8272d98)

Dependency confusion against https://github.com/teslamotors/liblithium disguised as a simple electrical calculator. During installation, import, and start of the Python process (via PTH file) the package fingerprints the environment and reports to a Sentry endpoint. The collected data seems not to contain any highly sensitive information.


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: 2026-12-pylithium

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.

  • dependency-confusion

  • abuses-pth

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

Database specific
{
    "iocs":  {
        "urls":  [
            "https://o4512485209538560.ingest.us.sentry.io/api/4512485213011968/store/"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "pypi/2026-12-pylithium/pylithium",
            "import_time":  "2026-12-03T00:40:21.270822712Z",
            "modified_time":  "2026-12-02T23:34:30.048298Z",
            "sha256":  "2f51b14434c08a91567d8fae4e4860edec5d621a7f0d2dcde4dac193b8272d98",
            "source":  "kam193",
            "versions":  [
                "0.0.1",
                "0.0.2",
                "0.1.0",
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / pylithium

Package

Affected ranges

Affected versions

0.*
0.0.1
0.0.2
0.1.0
1.*
1.0.1

Database specific

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