mal-2026-6138
Vulnerability from ossf_malicious_packages
Published
2026-06-18 17:21
Modified
2026-06-18 17:21
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

Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "randpicker"
      },
      "versions": [
        "0.1.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "pypi/2026-06-old-randpicker/randpicker",
        "import_time": "2026-06-18T18:20:34.596197706Z",
        "modified_time": "2026-06-18T17:21:25.482721Z",
        "sha256": "378d07b700aa25d356594d7b1c42db107def3dbd1cce734e4c1c50b411048eb6",
        "source": "kam193",
        "versions": [
          "0.1.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (378d07b700aa25d356594d7b1c42db107def3dbd1cce734e4c1c50b411048eb6)\nWhen 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.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-06-old-randpicker\n\n\nReasons (based on the campaign):\n\n\n - action-hidden-in-lib-usage\n\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim\u0027s machine.\n\n\n - backdoor\n\n\n - uses-telegram-bot\n\n\n - persistence\n\n\n - peristence-autorun\n",
  "id": "MAL-2026-6138",
  "modified": "2026-06-18T17:21:25Z",
  "published": "2026-06-18T17:21:25Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://opensourcemalware.com/pypi/randpicker"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/randpicker"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in randpicker (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…