mal-2026-14516
Vulnerability from ossf_malicious_packages
Published
2026-08-25 19:28
Modified
2026-08-25 22:11
Summary
Malicious code in minecraft-ytreceiver (PyPI)
Details

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

Source: amazon-inspector (ad998d7ff924f18f57116d8dd586342fd060d8fb1459d94c0a911589bc2e3686)

The package's module polls a hardcoded Telegram bot (api.telegram.org, bot id 8871201315) for commands scoped to a specific chat and topic. On matching messages it downloads a video and forces fullscreen playback while blocking keyboard and mouse input (via keyboard and pynput hooks), kills explorer.exe, and for the /YoutubeCD variant executes shutdown /s /t 0 /f to unconditionally power off the host. The bot token, chat id, topic id, and staging directory components are stored as base64 literals decoded at runtime by a helper function; the staging directory is placed at %APPDATA%\Microsoft\Crypto\RSA\tools to mimic the legitimate Windows RSA key-storage path. At import time the module silently pip-installs undeclared runtime dependencies (requests, keyboard, pynput, psutil) using CREATE_NO_WINDOW to hide the console, then downloads yt-dlp.exe and deno.exe from the mutable releases/latest GitHub URLs with no hash verification into the disguised staging path and executes them as part of the remotely driven command chain. pyproject metadata is a placeholder (Your Name, no email, homepage, or repository), consistent with a throwaway anonymously published package.

Source: kam193 (af6c2393210af3735a9353f40789859af7f87c96bcbd00178df62edb2ff7175e)

The package hides code for exfiltrating files, recordings from the webcam, screenshots, keylogging.


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

Campaign: 2026-08-minecraft-ytreceiver

Reasons (based on the campaign):

  • spyware-like

  • files-exfiltration

  • uses-telegram-bot

  • keylogger

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "src/youtube3_1/ytreciever.py",
              "sha256": "2acad302d38f0cc33e3c72f67580a6c3731cea92d42ad6f72b8ce51a1433f242",
              "tlsh": "b062b556fe2e5010c3f2199ef982d251e78b91070a766a93f93cc8a07f3d871917869e"
            }
          ],
          "package_integrity": [
            {
              "filename": "minecraft_ytreceiver-0.3.0-py3-none-any.whl",
              "hashes": {
                "blake2b_256": "edd84b9081c45a5a69258f80afd2876c0bd80f9c048f998b56db89e6acfd2d2a",
                "md5": "51f054bffbd0d8129c2f50aee8412962",
                "sha256": "c30f7d61e9ef78c47320a7c8509582059d4d6ee2e6299f55fd4f3bf8e0d8a9bf"
              }
            },
            {
              "filename": "minecraft_ytreceiver-0.3.0.tar.gz",
              "hashes": {
                "blake2b_256": "d33518397b01c5776be2e749d5ff19e761fd74441fa1c0f6aa9a82fb7d179c34",
                "md5": "1992fbe0011acd9fe4bab0e5211a05b7",
                "sha256": "cce40039996b877fe587ec69ed408f9a821b18334684b3f8191a5c7986a60149"
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "minecraft-ytreceiver"
      },
      "versions": [
        "0.1.0",
        "0.2.0",
        "0.3.0",
        "0.4.0",
        "0.5.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "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-08-minecraft-ytreceiver/minecraft-ytreceiver",
        "import_time": "2026-08-25T19:45:31.991140004Z",
        "modified_time": "2026-08-25T19:28:57.236512Z",
        "sha256": "af6c2393210af3735a9353f40789859af7f87c96bcbd00178df62edb2ff7175e",
        "source": "kam193",
        "versions": [
          "0.1.0",
          "0.2.0",
          "0.3.0",
          "0.4.0",
          "0.5.0"
        ]
      },
      {
        "id": "IN-MAL-2026-018741",
        "import_time": "2026-08-25T22:10:01.552916004Z",
        "modified_time": "2026-08-25T21:44:23Z",
        "sha256": "453ea5bf0f0310ae9355caa76fcbb82a34278fefef3ca64bcc60d1c4cfe6734f",
        "source": "amazon-inspector",
        "versions": [
          "0.3.0"
        ]
      },
      {
        "id": "IN-MAL-2026-018740",
        "import_time": "2026-08-25T22:10:01.474388482Z",
        "modified_time": "2026-08-25T21:44:15Z",
        "sha256": "ad998d7ff924f18f57116d8dd586342fd060d8fb1459d94c0a911589bc2e3686",
        "source": "amazon-inspector",
        "versions": [
          "0.1.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ad998d7ff924f18f57116d8dd586342fd060d8fb1459d94c0a911589bc2e3686)\nThe package\u0027s module polls a hardcoded Telegram bot (api.telegram.org, bot id 8871201315) for commands scoped to a specific chat and topic. On matching messages it downloads a video and forces fullscreen playback while blocking keyboard and mouse input (via keyboard and pynput hooks), kills explorer.exe, and for the /YoutubeCD variant executes `shutdown /s /t 0 /f` to unconditionally power off the host. The bot token, chat id, topic id, and staging directory components are stored as base64 literals decoded at runtime by a helper function; the staging directory is placed at %APPDATA%\\Microsoft\\Crypto\\RSA\\tools to mimic the legitimate Windows RSA key-storage path. At import time the module silently pip-installs undeclared runtime dependencies (requests, keyboard, pynput, psutil) using CREATE_NO_WINDOW to hide the console, then downloads yt-dlp.exe and deno.exe from the mutable `releases/latest` GitHub URLs with no hash verification into the disguised staging path and executes them as part of the remotely driven command chain. pyproject metadata is a placeholder (`Your Name`, no email, homepage, or repository), consistent with a throwaway anonymously published package.\n\n## Source: kam193 (af6c2393210af3735a9353f40789859af7f87c96bcbd00178df62edb2ff7175e)\nThe package hides code for exfiltrating files, recordings from the webcam, screenshots, keylogging.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-08-minecraft-ytreceiver\n\n\nReasons (based on the campaign):\n\n\n - spyware-like\n\n\n - files-exfiltration\n\n\n - uses-telegram-bot\n\n\n - keylogger\n",
  "id": "MAL-2026-14516",
  "modified": "2026-08-25T22:11:57.018508970Z",
  "published": "2026-08-25T19:28:57Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/minecraft-ytreceiver"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/minecraft-ytreceiver/0.3.0/"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/minecraft-ytreceiver/0.1.0/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in minecraft-ytreceiver (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…

Loading…