Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedhigh

Malicious code in yt-yson-bindings (PyPI)

The yt-yson-bindings 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.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
All users who installed the malicious yt-yson-bindings package from PyPI
Ecosystems
Attack vectors
Affected entities
  • yt-yson-bindingsPyPI package containing malicious code

The yt-yson-bindings package published on PyPI was found to contain malicious code designed to exfiltrate basic system information from infected hosts. The malicious payload is executed during package installation by overriding the install command in setup.py.\n\nThe exfiltrated data includes basic host information such as IP addresses and usernames. According to the OpenSSF malicious packages database, this package was categorized as a typical pentest-style package with limited harm potential, though it still represents a genuine supply chain compromise.\n\nThe malicious code was identified and attributed to the source kam193 (commit 870d6e991bf31676829c84080af299f206568bc11d6f9b42bf5fe2dca50cb79d). The package has been documented in the OpenSSF's malicious packages repository under identifier MAL-2024-12371.

Indicators of compromise

Packages
  • yt-yson-bindings

Remediation

  • Remove the yt-yson-bindings package from all systems where it was installed
  • Audit system logs for any suspicious activity or data exfiltration following installation of this package
  • Review network traffic logs for connections to unknown external hosts that may have occurred during or after package installation
  • Consider the host potentially compromised and monitor for further malicious activity
  • Do not install or use this package; use legitimate alternatives if the functionality is needed

Sources

  1. GitHub Advisory GHSA-m94q-8w5h-v8x9 · GitHub Advisory Database

Cite this entry

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

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 adpip (PyPI)

    The adpip package on PyPI was identified as malicious code, part of a campaign by EsqueleSquad that published nearly 6000 malicious packages across PyPI and NPM. The package executes spyware and information-stealing malware.

    PyPICompromised package
  2. resolvedcritical

    Malicious code in adstr (PyPI)

    The adstr package on PyPI contained malicious code as part of a campaign by EsqueleSquad group that published nearly 6000 malicious packages across PyPI and NPM. The malicious code executed spyware and information-stealing malware.

    PyPICompromised package
  3. resolvedcritical

    Malicious code in adtool (PyPI)

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

    PyPICompromised package
  4. 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