Malicious code in yfinane (PyPI)
Attacker distributed 900+ malicious packages via PyPI, including yfinane, which infected local browsers with malicious extensions designed to manipulate clipboard and replace cryptocurrency wallet addresses.
- Disclosed
- Last updated
- Blast radius
- 900+ malicious packages distributed via PyPI
- Ecosystems
- Attack vectors
- Affected entities
- yfinaneMalicious package distributed via PyPI
An attacker distributed over 900 malicious packages via the Python Package Index (PyPI), with yfinane being one of the identified affected packages. The malicious code was designed to install browser extensions on infected systems.
The installed extensions targeted cryptocurrency users by manipulating the clipboard and replacing legitimate cryptocurrency wallet addresses with attacker-controlled addresses. This attack vector allows theft of cryptocurrency transfers when users copy and paste wallet addresses.
The incident was documented by the OpenSSF's malicious-packages repository (MAL-2023-2455) and credited to Checkmarx for discovery. The attack represents a significant supply chain compromise affecting PyPI users who installed these packages.
Indicators of compromise
- Packages
- yfinane
Remediation
- Immediately uninstall yfinane and any other suspicious packages from affected systems
- Audit installed Python packages for unknown or suspicious entries
- Review browser extensions for unauthorized or suspicious additions
- Verify cryptocurrency wallet addresses independently before transfers
- Monitor accounts for unauthorized cryptocurrency transactions
- Update to patched versions if available or use alternative packages
- Check PyPI for removal of malicious packages and review security advisories
Sources
- GitHub Advisory GHSA-rx4g-rmv4-3gjf · GitHub Advisory Database
Cite this entry
"Malicious code in yfinane (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-yfinane-pypi-t8mclz
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