Malicious code in yper (PyPI)
Attacker distributed 900+ malicious packages via PyPI, including yper, which installed malicious browser extensions designed to manipulate clipboard contents and replace cryptocurrency wallet addresses. The campaign was identified and documented by the OpenSSF malicious-packages project.
- Disclosed
- Last updated
- Blast radius
- 900+ malicious packages distributed; targets local browsers and cryptocurrency wallets
- Ecosystems
- Attack vectors
- Affected entities
- yperPyPI package containing malicious code
An attacker distributed over 900 malicious packages through the Python Package Index (PyPI), with yper being one of the identified packages. These packages contained code that installed malicious browser extensions on infected systems.\n\nThe malicious extensions were designed to intercept and manipulate clipboard data, specifically targeting cryptocurrency wallet addresses. When users copied wallet addresses, the extension would replace them with attacker-controlled addresses, enabling theft of cryptocurrency transfers.\n\nThe campaign was identified and documented by the OpenSSF's malicious-packages project (MAL-2023-2465). The incident represents a large-scale supply chain attack leveraging PyPI's package distribution mechanism to reach end users.
Indicators of compromise
- Packages
- yper
Remediation
- Remove yper and any other suspicious packages from affected systems
- Audit installed Python packages for unexpected or unfamiliar dependencies
- Scan systems for malicious browser extensions, particularly those with clipboard manipulation capabilities
- Review recent cryptocurrency transactions for signs of address replacement attacks
- Monitor PyPI for similar malicious package campaigns and maintain updated blocklists
- Use package verification tools and dependency scanning in development workflows
Sources
- GitHub Advisory GHSA-jvv2-4pwq-g9mw · GitHub Advisory Database
Cite this entry
"Malicious code in yper (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-yper-pypi-14ili0
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- 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 - 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 - 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 - 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