Malicious Code Detected in boson-csrf-accretion-stream Package
Summary
MAL-2025-15998: Malicious code in boson-csrf-accretion-stream (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 boson-csrf-accretion-stream package is an npm library designed to facilitate secure cross-site request forgery (CSRF) protection in web applications. It aims to enhance the security of web applications by providing developers with tools to prevent unauthorized actions. However, this package has been found to contain malicious code, which poses significant risks to users and applications relying on it.
Vulnerability Detail
The vulnerability in the boson-csrf-accretion-stream package originates from the inclusion of malicious code that can compromise the security of applications using this library. This code can lead to unauthorized access, data breaches, and potential exploitation of the affected systems. The malicious nature of this code makes it imperative for users to take immediate action to mitigate the risks associated with its use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall boson-csrf-accretion-stream
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 removing the boson-csrf-accretion-stream package from your project until a secure version is released. You can do this by executing the following command: 'npm uninstall boson-csrf-accretion-stream'. This will help mitigate the risk of exposure to the malicious code.
Conclusion
The boson-csrf-accretion-stream package has been identified as containing malicious code that poses a significant security risk. Users are urged to take immediate action by updating or removing the package until a secure version is released. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.
See every vulnerability recorded for boson-csrf-accretion-stream →
FAQ
It is an npm library designed to provide CSRF protection for web applications.
The package contains code that can compromise application security and lead to unauthorized access.
You can use Vulert, which monitors vulnerabilities in open-source packages. Visit Vulert Scanner to check your application without any signup.
Currently, there is no patched version available. Users should monitor the package repository for updates.
Consider removing the package from your project as a temporary measure to avoid exposure to the malicious code.