Critical Malicious Code Vulnerability in btc-transaction-helper Package
Summary
MAL-2025-191556: Malicious code in btc-transaction-helper (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 btc-transaction-helper package is a tool designed for facilitating Bitcoin transactions within Node.js applications. It provides developers with functions to create, sign, and broadcast Bitcoin transactions easily. However, this package has been compromised, leading to severe security risks for any system utilizing it. The malicious code embedded within this package can lead to unauthorized access and control over affected systems.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the btc-transaction-helper package. This code can compromise any computer that has the package installed or running, potentially allowing an attacker to gain full control over the system. The implications of this vulnerability are severe, as it can lead to the exposure of sensitive information, including secrets and keys stored on the compromised machine. Users are advised to treat any system with this package as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall btc-transaction-helper
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 are no effective workarounds for this vulnerability other than removing the package and securing the system. Users should ensure that they have rotated all sensitive information before removing the package.
Conclusion
The btc-transaction-helper package has been identified as containing malicious code that poses significant security risks. Users must act swiftly to remove the package and secure their systems to prevent unauthorized access and data breaches. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for btc-transaction-helper →
FAQ
Immediately remove the btc-transaction-helper package and rotate all sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Leaving this package installed can lead to unauthorized access to your system, potential data breaches, and loss of sensitive information.
The only effective mitigation is to remove the package and secure your system. There are no safe workarounds.
While removing the package is essential, it does not guarantee complete security. You should also rotate all secrets and keys and monitor your system for any signs of compromise.