Malicious Code in bootstrapper (npm)
Summary
MAL-2024-1833: Malicious code in bootstrapper (npm). Affects bootstrapper versions 35.0.0. 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 bootstrapper package is an npm package used for bootstrapping applications. It provides a set of tools and utilities to initialize and configure projects. The package is widely used in the JavaScript ecosystem for setting up project dependencies and configurations. However, a vulnerability has been identified in the bootstrapper package that involves the presence of malicious code in its bootstrapping process.
Vulnerability Detail
The vulnerability, identified as MAL-2024-1833, is a false positive caused by problematic ingestion. It was initially reported on June 25, 2024, and later withdrawn on July 1, 2024. The malicious code was found in version 35.0.0 of the bootstrapper package. The specific details of the code and its impact are not provided in the vulnerability report. However, it is important to note that the presence of malicious code in a bootstrapping process can lead to various security risks, including unauthorized access, data breaches, and the execution of arbitrary code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bootstrapper
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 →
Conclusion
The bootstrapper package has been found to contain malicious code in version 35.0.0. This vulnerability can pose significant security risks to applications that utilize the package for bootstrapping. It is crucial to update to a newer version of the package that does not contain the malicious code to mitigate these risks.
See every vulnerability recorded for bootstrapper →
FAQ
The bootstrapper package is used for initializing and configuring projects in the JavaScript ecosystem. It provides tools and utilities to set up project dependencies and configurations.
The specific impact of the malicious code is not provided in the vulnerability report. However, the presence of such code in a bootstrapping process can lead to security risks such as unauthorized access, data breaches, and the execution of arbitrary code.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your package-lock.json file and Vulert will analyze it in real-time to identify any open-source vulnerabilities.
No specific workaround is mentioned in the vulnerability report. It is recommended to update the bootstrapper package to a version that does not contain the malicious code.
You can find more information about the vulnerability in the GitHub repository of the OSS-Fuzz project. The vulnerability report is available at: https://github.com/ossf/malicious-packages/blob/main/osv/withdrawn/npm/bootstrapper/MAL-2024-1833.json