Malicious Code Detected in Airbnb-Base Package - MAL-2025-14185
Summary
MAL-2025-14185: Malicious code in airbnb-base (npm). Affects airbnb-base versions 1.0.1 – 1.0.5. 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 Airbnb-Base package is a popular JavaScript library used for configuring ESLint, a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. It provides a set of base configurations that help developers maintain code quality and consistency. However, a recent vulnerability has been identified, which poses a significant risk to users of this package.
Vulnerability Detail
The vulnerability in the Airbnb-Base package is characterized by the presence of malicious code. This code can potentially compromise the security of applications that depend on this package, leading to unauthorized access, data breaches, or other malicious activities. The issue originates from the package itself, which has been tampered with to include harmful scripts that execute when the package is used in a project.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall airbnb-base
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 Airbnb-Base package from your project until a secure version is released. You can do this by running: npm uninstall airbnb-base. Alternatively, you may choose to use a different ESLint configuration package that does not have known vulnerabilities.
Conclusion
The discovery of malicious code in the Airbnb-Base package highlights the importance of maintaining vigilance when using open-source libraries. Users are encouraged to update their packages regularly and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, developers can protect their applications from potential threats.
See every vulnerability recorded for airbnb-base →
FAQ
Airbnb-Base is a JavaScript library that provides a set of ESLint configurations to help developers maintain code quality.
The malicious code was introduced into the Airbnb-Base package itself, compromising its integrity.
Using a compromised package can lead to security vulnerabilities, including unauthorized access to sensitive data and potential data breaches.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.