Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in ypj (PyPI)

Malicious code was discovered in the ypj package on PyPI. The package contained intentional malicious functionality and has been flagged by the OpenSSF malicious packages database.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Unknown scope; depends on adoption of affected versions
Ecosystems
Attack vectors
Affected entities
  • ypjPyPI package

The ypj package on PyPI was found to contain malicious code. This incident was identified and documented by the OpenSSF's malicious packages project, which maintains a catalog of known malicious software supply chain incidents.\n\nThe malicious package was published to the Python Package Index (PyPI), making it available for installation by developers. The OpenSSF assigned this incident the identifier MAL-2025-4274 in their tracking system.\n\nUsers who installed affected versions of ypj should remove the package and audit their systems for any unauthorized activity or data exfiltration that may have occurred.

Indicators of compromise

Packages
  • ypj

Remediation

  • Remove the ypj package from all affected systems immediately
  • Audit systems that installed ypj for signs of compromise or unauthorized access
  • Review package dependencies to ensure no other malicious packages were installed
  • Monitor for any suspicious network activity or data exfiltration from affected systems
  • Use a package manager with security scanning capabilities to detect similar threats

Sources

  1. GitHub Advisory GHSA-xpfh-v2mw-vvpc · GitHub Advisory Database

Cite this entry

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

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