Malicious Code Detected in Coinpayment Package - Security Alert
Summary
MAL-2025-17271: Malicious code in coinpayment (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Coinpayment package is a widely used npm library that facilitates cryptocurrency payment processing in web applications. It provides developers with tools to integrate various payment methods seamlessly. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the Coinpayment package. This code can potentially compromise the security of applications that depend on it, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address it promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall coinpayment
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
As a temporary workaround, consider removing the Coinpayment package from your project until a secure version is released. You can do this by executing the following command: npm uninstall coinpayment. This will help prevent any potential exploitation of the malicious code while you await a fix.
Conclusion
The discovery of malicious code in the Coinpayment package highlights the importance of regularly monitoring and updating dependencies in software projects. Users are encouraged to take immediate action by updating or removing the package to safeguard their applications from potential threats.
See every vulnerability recorded for coinpayment →
FAQ
Coinpayment is an npm library that allows developers to integrate cryptocurrency payment processing into their applications.
The specific nature of the malicious code has not been disclosed, but it poses significant security risks to applications using the package.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
As of now, there is no patched version available. Users are advised to monitor the package for updates and apply them as soon as they are released.
If immediate removal is not possible, ensure that your application has additional security measures in place to mitigate potential risks until the vulnerability is addressed.
Related vulnerabilities
Recent vulnerabilities recorded for coinpayment.