Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in youtube-new (PyPI)

Malicious code was discovered in the youtube-new package on PyPI. The package was identified by the OpenSSF malicious-packages project and assigned identifier MAL-2025-41801.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Unknown; depends on adoption of malicious versions
Ecosystems
Attack vectors
Affected entities
  • youtube-newPyPI package

The youtube-new package on PyPI was found to contain malicious code. This discovery was made and documented by the OpenSSF's malicious-packages project, a collaborative effort to identify and catalog known malicious packages in open-source ecosystems.\n\nThe incident was assigned the identifier MAL-2025-41801 and was published as a GitHub Advisory (GHSA-q8r4-xxrq-h7px) on July 21, 2026. The malicious package was hosted on the Python Package Index (PyPI).\n\nUsers who installed affected versions of youtube-new should remove the package and verify their systems for any unauthorized activity or data exfiltration.

Indicators of compromise

Packages
  • youtube-new

Remediation

  • Remove youtube-new from affected systems immediately
  • Audit systems that installed youtube-new for signs of compromise or unauthorized access
  • Review package dependencies to identify any systems that may have pulled youtube-new as a transitive dependency
  • Monitor for any suspicious activity or data exfiltration from affected systems
  • Use only verified, legitimate packages from trusted sources

Sources

  1. GitHub Advisory GHSA-q8r4-xxrq-h7px · GitHub Advisory Database

Cite this entry

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

Suggest a correction

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

  1. resolvedhigh

    Malicious code in riakcs (PyPI)

    The riakcs package on PyPI contained malicious code that exfiltrates basic host information (IP address, username) during installation. The package overrides the install command in setup.py to execute the malicious payload when installed.

    PyPICompromised package
  2. containedcritical

    Malicious code in fastapii (PyPI)

    The fastapii package on PyPI is a typosquatting attack imitating the popular FastAPI library. During installation, it executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.

    2026 08 FlasqPyPITyposquattingCompromised package
  3. containedcritical

    Malicious code in idnna (PyPI)

    A malicious package named idnna was published to PyPI, imitating a legitimate library. During installation, the package executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.

    PyPITyposquattingCompromised package
  4. containedcritical

    Malicious code in pydanticc (PyPI)

    The PyPI package pydanticc is a typosquatting attack imitating the popular pydantic library. During installation, it executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.

    2026 08 FlasqPyPITyposquattingCompromised package