Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in youtubebot (PyPI)

Malicious code was discovered in the youtubebot package on PyPI. The package was flagged by the OpenSSF malicious-packages project and assigned identifier MAL-2024-6251.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Unknown; depends on youtubebot installation base and malicious payload scope
Ecosystems
Attack vectors
Affected entities
  • youtubebotPyPI package

The youtubebot package on PyPI was found to contain malicious code. The discovery was credited to the OpenSSF's malicious-packages project, which maintains a catalog of known malicious packages across package ecosystems.

The incident was tracked under identifier MAL-2024-6251 in the OpenSSF malicious-packages repository. The advisory was published on GitHub on 2026-07-21.

No specific details about the malicious payload, affected versions, or remediation steps are provided in the source text. Users of youtubebot should consult the full advisory and the OpenSSF malicious-packages repository for detailed information about which versions are affected and recommended actions.

Indicators of compromise

Packages
  • youtubebot

Remediation

  • Remove youtubebot from affected systems
  • Audit systems that installed youtubebot for unauthorized changes or data exfiltration
  • Consult the full GitHub advisory (GHSA-v77f-qvxh-j86f) and OpenSSF malicious-packages repository for affected version details
  • Use alternative packages for YouTube interaction if youtubebot functionality is required

Sources

  1. GitHub Advisory GHSA-v77f-qvxh-j86f · GitHub Advisory Database

Cite this entry

"Malicious code in youtubebot (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-youtubebot-pypi-1fccjw

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. resolvedcritical

    Malicious code in afrit-name (PyPI)

    Malicious code was discovered in the afrit-name package on PyPI. The incident was identified and documented by the OpenSSF malicious packages project.

    PyPICompromised package
  2. resolvedcritical

    Malicious code in adv2099m7 (PyPI)

    Malicious code was discovered in the adv2099m7 package on PyPI. The package was identified and cataloged by the OpenSSF malicious packages project.

    PyPICompromised package
  3. resolvedcritical

    Malicious code in adrandom (PyPI)

    The adrandom package on PyPI contained malicious code that executed spyware and information-stealing malware. It was part of a campaign by the EsqueleSquad group that published nearly 6,000 malicious packages across PyPI and NPM.

    EsquelesquadPyPICompromised package
  4. resolvedcritical

    Malicious code in ziphash (PyPI)

    The ziphash package on PyPI contained malicious code that downloads and executes multi-stage malware during archive-support class initialization. The malware exhibits obfuscation and remote code execution capabilities, classified as part of the 2025-11-uzip campaign.

    2025 11 UzipPyPICompromised package