Malicious Code Detected in buffgr-xor Package - MAL-2025-16310
Summary
MAL-2025-16310: Malicious code in buffgr-xor (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 buffgr-xor package is an npm library designed for XOR encryption and decryption operations. It is commonly used in applications requiring data obfuscation and security. However, this package has been found to contain malicious code that can compromise the security of applications utilizing it.
Vulnerability Detail
The vulnerability in the buffgr-xor package originates from the inclusion of malicious code that can execute harmful operations on the host system. This can lead 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 this vulnerability immediately.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall buffgr-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
If updating the package is not immediately feasible, consider temporarily removing the buffgr-xor package from your project until a secure version is released. You can do this by running: npm uninstall buffgr-xor.
Conclusion
The buffgr-xor package has been identified as containing malicious code that poses a significant security risk. It is crucial for developers to update or remove the package to protect their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for buffgr-xor →
FAQ
The buffgr-xor package is used for XOR encryption and decryption, commonly employed in applications that require data obfuscation.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, Vulert can help identify if your application is affected.
If you cannot update the package, consider removing it from your project until a secure version is available to mitigate the risk.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Using the compromised buffgr-xor package can lead to unauthorized access, data breaches, and other malicious activities that can severely impact your application's security.
Related vulnerabilities
Recent vulnerabilities recorded for buffgr-xor.