MAL-2026-6138 Malicious code in randpicker (PyPI)

Malicious package Published
Package
randpicker
Registry
PyPI

What is MAL-2026-6138?

MAL-2026-6138 is a malicious package in randpicker, published on 18 Jun 2026.

Official description

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

What should I do about MAL-2026-6138?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-6138 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free