Malicious Code Detected in bf-crc Package - Immediate Action Required
Summary
MAL-2025-15629: Malicious code in bf-crc (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 bf-crc package is a Node.js library that provides CRC (Cyclic Redundancy Check) calculations. It is commonly used in applications that require data integrity checks. However, recent findings have revealed that this package contains malicious code, posing a significant risk to users and their applications.
Vulnerability Detail
The vulnerability in the bf-crc package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious code was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bf-crc
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, users can remove the bf-crc package from their dependencies until a secure version is released. This can be done by executing the following command: npm uninstall bf-crc.
Conclusion
The bf-crc package has been identified as containing malicious code, which poses serious security risks. Users are urged to take immediate action by updating or removing the package to safeguard their applications. Continuous monitoring using tools like Vulert can help prevent future vulnerabilities.
See every vulnerability recorded for bf-crc →
FAQ
The bf-crc package is used for performing CRC calculations, which are essential for ensuring data integrity in various applications.
The malicious code was discovered through security audits and monitoring by tools such as Amazon Inspector.
Using the compromised bf-crc package can lead to unauthorized access, data breaches, and potential exploitation of your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By simply uploading your package-lock.json file, you can check for vulnerabilities without any installation required.
Yes, you can use Vulert's playground to continuously monitor your project for vulnerabilities. Visit Vulert Scanner to check if your application is affected.