Malicious code in cryptfeed (PyPI)

cryptfeed Updated 02 Oct 2025

Summary

09/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-1712: Malicious code in cryptfeed (PyPI). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Cryptfeed is a package available on PyPI that provides functionality for managing cryptocurrency feeds. It allows users to subscribe to different cryptocurrency feeds and receive updates. The package is widely used by developers and individuals interested in tracking cryptocurrency prices and news. However, a recent vulnerability has been discovered in cryptfeed that allows attackers to distribute malicious packages via PyPI and infect local browsers with a malicious extension. This extension can manipulate the clipboard and replace crypto wallet addresses, potentially leading to financial loss for users.

Vulnerability Detail

The vulnerability in cryptfeed originates from a malicious package that was distributed via PyPI. The attacker managed to upload over 900 malicious packages, including one that specifically targeted cryptfeed. When users installed or updated cryptfeed, they unknowingly installed the malicious package as well. This package contained a browser extension that had the ability to manipulate the clipboard and replace crypto wallet addresses. As a result, users who had the extension installed could unknowingly send cryptocurrency to the attacker's wallet instead of the intended recipient. This vulnerability poses a significant risk to users' financial security and privacy.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall cryptfeed

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. Users must update to the secure version of cryptfeed to mitigate the risk.

Conclusion

The discovery of malicious code in cryptfeed highlights the importance of maintaining the security of open-source packages. Users of cryptfeed should update to the secure version to protect themselves from potential financial loss. It is also recommended to regularly check for updates and security advisories for all installed packages. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for cryptfeed →

Share this vulnerability

FAQ

You can use the Vulert Playground at Vulert Scanner to check if your installation of cryptfeed is affected by this vulnerability. Simply enter your Pipfile.lock file, and Vulert will analyze it and provide information on any known vulnerabilities.

Yes, updating to the secure version of cryptfeed will remove the vulnerability and allow you to continue using the package without the risk of the malicious code.

If you have already sent cryptocurrency to the attacker's wallet due to the malicious extension, it is recommended to contact your cryptocurrency exchange or wallet provider immediately. They may be able to assist you in recovering the funds or taking appropriate action.

The attacker distributed over 900 malicious packages via PyPI, targeting various popular packages. It is recommended to check for any other installed packages that may have been compromised and update them to secure versions.

To prevent similar attacks, it is important to follow best practices for package management. Regularly update all installed packages to the latest secure versions, and be cautious when installing packages from untrusted sources. Additionally, consider using tools like Vulert to monitor and alert for open-source vulnerabilities in your software.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall cryptfeed

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback