Malicious code in yfinancee (PyPI)
Attacker distributed 900+ malicious packages via PyPI, including yfinancee, which installed malicious browser extensions designed to manipulate clipboard 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 via PyPI
- Ecosystems
- Attack vectors
- Affected entities
- yfinanceeMalicious package distributed on PyPI
A large-scale malicious package distribution campaign targeted PyPI, with the attacker publishing over 900 malicious packages. The yfinancee package was among those distributed as part of this campaign.
The malicious packages installed browser extensions that performed clipboard manipulation and cryptocurrency wallet address replacement attacks. This technique allowed attackers to intercept and modify cryptocurrency transactions by replacing legitimate wallet addresses with attacker-controlled addresses when users copied and pasted them.
The campaign was identified and documented by the OpenSSF's malicious-packages project (MAL-2023-2454), which tracks confirmed malicious software supply chain incidents. The incident has been cataloged and is no longer active on PyPI.
Indicators of compromise
- Packages
- yfinancee
Remediation
- Remove yfinancee and any other packages from the identified malicious package list from affected systems
- Audit installed browser extensions and remove any suspicious or unfamiliar extensions
- Review cryptocurrency transaction history for any unauthorized address replacements
- Use package verification tools and check PyPI advisories before installing packages
- Monitor for similar malicious package campaigns and maintain updated security advisories
Sources
- GitHub Advisory GHSA-fqqp-chq5-9vcp · GitHub Advisory Database
Cite this entry
"Malicious code in yfinancee (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-yfinancee-pypi-18k1i0
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- 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 - 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 - 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 - containedcritical
Malicious code in flasq (PyPI)
A malicious package named flasq was published on PyPI, imitating a popular library. During installation, it executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.
PyPITyposquattingCompromised package