Malicious Code Detected in bubfer-xor Package - Security Alert

bubfer-xor Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-16247: Malicious code in bubfer-xor (npm). 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The bubfer-xor package is an npm library designed for XOR operations in JavaScript, providing developers with a simple way to perform bitwise XOR calculations. However, it has been identified to contain malicious code that poses significant security risks to applications utilizing this package. This vulnerability can lead to unauthorized access or manipulation of sensitive data within affected applications.

Vulnerability Detail

The vulnerability in the bubfer-xor package stems from the inclusion of malicious code that was intentionally introduced in version 0 and potentially affects all subsequent versions. This code can compromise the integrity and confidentiality of applications that rely on this package, leading to severe security breaches. The malicious nature of the code can result in data theft, unauthorized access, or other harmful actions within the application environment.

How To Fix

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

npm uninstall bubfer-xor

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 using alternative libraries that provide similar functionality without the associated risks. Ensure to thoroughly vet any replacement packages for security vulnerabilities before integrating them into your application.

Conclusion

The bubfer-xor package has been identified as containing malicious code, posing serious security risks to applications that utilize it. It is essential to remove this package from your projects and replace it with a secure alternative to safeguard your application from potential threats.

See every vulnerability recorded for bubfer-xor →

Share this vulnerability

FAQ

bubfer-xor is an npm package used for performing XOR operations in JavaScript applications.

The malicious code can compromise application security, potentially leading to data theft or unauthorized access.

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.

Immediately uninstall the bubfer-xor package and replace it with a secure alternative. Run 'npm uninstall bubfer-xor' in your terminal.

Yes, consider using other libraries that offer XOR functionality, but ensure they are well-reviewed and free from known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for bubfer-xor.

How To Fix

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

npm uninstall bubfer-xor

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