Malicious Package in buffer-xos

buffer-xos Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
9.8

GHSA-h2j3-gg8w-4858: Malicious Package in buffer-xos. Affects buffer-xos 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The buffer-xos package is an npm package that is used for buffer operations. It provides functionality for manipulating and working with buffers in JavaScript. The package is widely used in various projects that require buffer handling. However, version 2.0.2 of the package contained malicious code that targeted the Ethereum cryptocurrency. This code performed unauthorized transactions to wallets not controlled by the user, potentially leading to the loss of Ethereum funds.

Vulnerability Detail

The vulnerability in buffer-xos version 2.0.2 arises from the inclusion of malicious code. This code specifically targets Ethereum cryptocurrency and performs transactions to unauthorized wallets. The code operates without the user's consent or knowledge, putting their Ethereum funds at risk. The presence of this vulnerability can result in financial loss and compromise the integrity of Ethereum transactions. The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8.

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

The buffer-xos package version 2.0.2 contains malicious code that targets Ethereum cryptocurrency, performing unauthorized transactions to wallets not controlled by the user. This vulnerability poses a significant risk to Ethereum funds and the integrity of transactions. To mitigate this risk, it is crucial to remove the package from the environment, review Ethereum wallets for unauthorized activity, and consider alternative buffer handling solutions. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for buffer-xos →

Share this vulnerability

FAQ

The malicious code in buffer-xos version 2.0.2 specifically includes functionality to interact with Ethereum wallets and perform unauthorized transactions. It identifies Ethereum-related operations and executes the malicious behavior without the user's consent.

The presence of this vulnerability can lead to the loss of Ethereum funds. Unauthorized transactions can be performed to wallets not controlled by the user, resulting in financial loss. Additionally, the integrity of Ethereum transactions can be compromised, impacting the trust and reliability of the cryptocurrency ecosystem.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using package-lock.json as a reference. It provides a comprehensive analysis of vulnerabilities without requiring access to the code or installation.

If you discover unauthorized transactions in your Ethereum wallet, it is crucial to take immediate action. Contact your cryptocurrency exchange or wallet provider to report the incident and seek assistance in securing your account. Additionally, consider consulting with a cybersecurity professional to investigate the extent of the compromise and implement necessary security measures.

Yes, there are alternative buffer handling packages available that are not affected by this vulnerability. It is recommended to research and evaluate alternative packages based on their security track record, community support, and regular updates. Ensure to choose a package that has been thoroughly reviewed and does not have any known security issues.

Related vulnerabilities

Recent vulnerabilities recorded for buffer-xos.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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