Malicious Package in ruffer-xor: Unauthorized Ethereum Transactions

ruffer-xor Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
9.8

GHSA-2mxc-m4c3-wqhq: Malicious Package in ruffer-xor. Affects ruffer-xor versions >= 0.0.0. 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

ruffer-xor is an npm package that provides functionality related to the Ethereum cryptocurrency. It is designed to perform various operations on Ethereum wallets, such as generating addresses, signing transactions, and interacting with smart contracts. The package is widely used by developers working with Ethereum applications.

Vulnerability Detail

Version 2.0.2 of ruffer-xor contained malicious code that targeted the Ethereum cryptocurrency. When this version was installed, it performed unauthorized transactions to wallets not controlled by the user. This could result in the loss of Ethereum funds and compromise the security of the affected applications. The vulnerability has a CVSS score of 9.8, indicating its critical severity.

How To Fix

No fixed version is published for this vulnerability.

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

Conclusion

Version 2.0.2 of the ruffer-xor npm package contained malicious code that performed unauthorized transactions targeting Ethereum wallets. This critical vulnerability could result in the loss of Ethereum funds and compromise the security of affected applications. To mitigate the risk, it is recommended to remove the package from your environment and ensure no funds were compromised. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ruffer-xor →

Share this vulnerability

FAQ

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide the package-lock.json file of your application, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

If your application is affected by this vulnerability, you should immediately remove the ruffer-xor package from your environment. Additionally, thoroughly review your Ethereum transactions to identify any unauthorized activity. If any funds have been compromised, take appropriate measures to mitigate the impact and secure your Ethereum wallets.

Yes, there are several alternative packages available for working with Ethereum in the npm ecosystem. Some popular options include web3.js, ethers.js, and truffle. It is recommended to carefully evaluate the reputation, community support, and security track record of any package before integrating it into your application.

Yes, the malicious code has been identified and removed from ruffer-xor. It is crucial to ensure that you are using a version of the package that is free from the vulnerability. Always update to the latest stable version of ruffer-xor or consider using alternative packages with a good security track record.

To prevent similar vulnerabilities, it is important to follow best practices for package management and security. Regularly update your packages to the latest stable versions, as they often include security patches. Use tools like Vulert to continuously monitor your application for open-source vulnerabilities. Additionally, consider implementing code reviews, security audits, and penetration testing to identify and address potential vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for ruffer-xor.

How To Fix

No fixed version is published for this vulnerability.

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