MAL-2026-6138

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/randpicker/MAL-2026-6138.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6138
Published
2026-06-18T17:21:25Z
Modified
2026-06-18T18:30:57.543107691Z
Summary
Malicious code in randpicker (PyPI)
Details

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

Source: kam193 (378d07b700aa25d356594d7b1c42db107def3dbd1cce734e4c1c50b411048eb6)

When calling the Email function, the code creates a backdoor script and attempts to achieve persistence. The script connects to a Telegram bot and awaits commands to execute.


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

Campaign: 2026-06-old-randpicker

Reasons (based on the campaign):

  • action-hidden-in-lib-usage

  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

  • backdoor

  • uses-telegram-bot

  • persistence

  • peristence-autorun

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "378d07b700aa25d356594d7b1c42db107def3dbd1cce734e4c1c50b411048eb6",
            "source": "kam193",
            "modified_time": "2026-06-18T17:21:25.482721Z",
            "versions": [
                "0.1.0"
            ],
            "id": "pypi/2026-06-old-randpicker/randpicker",
            "import_time": "2026-06-18T18:20:34.596197706Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / randpicker

Package

Affected ranges

Affected versions

0.*
0.1.0

Database specific

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