MAL-2025-191847

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pytzv/MAL-2025-191847.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191847
Published
2025-04-25T16:08:50Z
Modified
2025-12-31T02:56:27.631203Z
Summary
Malicious code in pytzv (PyPI)
Details

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

Source: kam193 (bc7b0a2cddf6ee0cc4d688f4136758e0d7aaa99707aa5dd82505d84631d77720)

Importing the module starts exfiltration of ".session" files, which appear to be used at least by one Telegram library (https://docs.telethon.dev/en/stable/concepts/sessions.html#what-are-sessions) to store credentials


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-04-qtpv

Reasons (based on the campaign):

  • files-exfiltration

  • target:telegram

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "a09605c70fc554bf6db8ef1e12c7138cf9c4f22d69aad1ac9d4ee3bd3e2256f1",
            "source": "kam193",
            "import_time": "2025-12-02T22:30:55.509059948Z",
            "id": "pypi/2025-04-qtpv/pytzv",
            "modified_time": "2025-04-25T16:08:50Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "sha256": "bc7b0a2cddf6ee0cc4d688f4136758e0d7aaa99707aa5dd82505d84631d77720",
            "source": "kam193",
            "import_time": "2025-12-02T23:07:18.534857025Z",
            "id": "pypi/2025-04-qtpv/pytzv",
            "modified_time": "2025-04-25T16:08:50Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "modified_time": "2025-04-25T16:08:50Z",
            "source": "kam193",
            "import_time": "2025-12-10T21:38:57.754336581Z",
            "id": "pypi/2025-04-qtpv/pytzv",
            "versions": [
                "0.2.0",
                "0.1.0",
                "0.4.0",
                "0.3.0"
            ],
            "sha256": "bd273a905ee98fba13687445bc779f84d0def3a34ca038f604a0918411b82fe8"
        },
        {
            "modified_time": "2025-04-25T16:08:50Z",
            "source": "kam193",
            "import_time": "2025-12-30T22:39:04.149853214Z",
            "id": "pypi/2025-04-qtpv/pytzv",
            "versions": [
                "0.1.0",
                "0.2.0",
                "0.3.0",
                "0.4.0"
            ],
            "sha256": "84bc9d390bea11a9eb19e17ef172857b48cd1ae77f8901fbf49083bf7f627487"
        }
    ]
}
References
Credits

Affected packages

PyPI / pytzv

Package

Affected ranges

Affected versions

0.*
0.1.0
0.2.0
0.3.0
0.4.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pytzv/MAL-2025-191847.json"