Malicious Code Detected in amadeus-api Package
Summary
MAL-2025-14418: Malicious code in amadeus-api (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 amadeus-api package is a Node.js library that provides access to the Amadeus travel API, allowing developers to integrate travel-related functionalities into their applications. It is widely used for accessing flight, hotel, and travel-related data. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the amadeus-api package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may lead to unauthorized access, data breaches, or other malicious activities, potentially affecting both the developers and end-users of applications relying on this package. The issue was introduced in all versions starting from 0, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall amadeus-api
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 amadeus-api package from your project until a secure version is available. You can do this by executing: npm uninstall amadeus-api. Alternatively, you may explore other travel API libraries that do not have known vulnerabilities.
Conclusion
The discovery of malicious code in the amadeus-api package highlights the importance of maintaining secure dependencies in software development. Users are strongly advised to update or remove the affected package to mitigate potential security risks.
See every vulnerability recorded for amadeus-api →
FAQ
The amadeus-api package is a Node.js library that allows developers to access the Amadeus travel API for integrating travel-related functionalities into applications.
The malicious code found in the amadeus-api package can lead to unauthorized access and potential data breaches in applications that utilize this library.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can help you identify if your application is affected by this vulnerability.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you cannot update the package right away, consider removing it from your project or using alternative libraries that do not have known vulnerabilities until a secure version is released.