Malicious code in yfinanec (PyPI)
Attacker distributed 900+ malicious packages via PyPI, including yfinanec, 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
- yfinanecPyPI package containing malicious code
An attacker distributed over 900 malicious packages through the Python Package Index (PyPI), with yfinanec 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 incident was identified and documented by the OpenSSF's malicious-packages project (reference MAL-2023-2456). The packages have since been removed from PyPI.
Indicators of compromise
- Packages
- yfinanec
Remediation
- Remove yfinanec and any other suspicious packages from affected systems
- Audit pip package installation history for the 900+ malicious packages identified in the OpenSSF malicious-packages repository
- Uninstall any malicious browser extensions from affected browsers
- Review recent cryptocurrency transactions for signs of address manipulation
- Use package verification tools and check PyPI advisories before installing packages
- Monitor clipboard activity and use hardware wallets or verified address verification methods for cryptocurrency transfers
Sources
- GitHub Advisory GHSA-796h-8x9j-2cwg · GitHub Advisory Database
Cite this entry
"Malicious code in yfinanec (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-yfinanec-pypi-1tywoi
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 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 - 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 - 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 - 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