Malicious Code Detected in airbnb-angular Package
Summary
MAL-2025-14184: Malicious code in airbnb-angular (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 airbnb-angular package is a popular npm library used for building Angular applications with a set of predefined styles and components inspired by Airbnb's design. It aims to streamline the development process by providing reusable UI components. However, recent findings have revealed that this package contains malicious code, posing a significant risk to developers and users who integrate it into their projects.
Vulnerability Detail
The vulnerability in the airbnb-angular 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 application environment. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall airbnb-angular
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-angular package from your project and replacing it with an alternative UI component library that does not have known vulnerabilities. This will help mitigate the risk until a secure version of airbnb-angular is released.
Conclusion
The discovery of malicious code in the airbnb-angular package highlights the importance of regularly monitoring and updating dependencies in software projects. Developers should take immediate action to mitigate risks by updating or replacing vulnerable packages. Utilizing tools like Vulert can further enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for airbnb-angular →
FAQ
airbnb-angular is an npm package that provides UI components and styles for Angular applications, inspired by Airbnb's design principles.
The malicious code can potentially allow unauthorized access and compromise the security of applications using the airbnb-angular package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If an immediate update is not possible, consider removing the package and using an alternative library to avoid potential security risks.
Yes, tools like Vulert can automate the monitoring of your project's dependencies for vulnerabilities using just the package-lock.json file.