Malicious Code Detected in dyna-travel-api Package
Summary
MAL-2025-19027: Malicious code in dyna-travel-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 dyna-travel-api package is an npm library designed to facilitate travel-related API interactions. It aims to provide developers with tools to integrate travel functionalities into their applications. However, it has been found to contain malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the dyna-travel-api package arises from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue is particularly concerning as it affects all versions of the package starting from its introduction, making it essential 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 dyna-travel-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, users can isolate the affected package by using a different package that offers similar functionality without the associated risks. Additionally, consider implementing security measures such as input validation and monitoring to mitigate potential threats while transitioning away from the vulnerable package.
Conclusion
The discovery of malicious code in the dyna-travel-api package highlights the importance of monitoring open-source dependencies for vulnerabilities. Users are advised to take immediate action to remove the affected package and consider alternatives to safeguard their applications.
See every vulnerability recorded for dyna-travel-api →
FAQ
dyna-travel-api is an npm package designed to help developers integrate travel-related functionalities into their applications.
The malicious code can lead to unauthorized access and potential data breaches, compromising the security of applications that use this package.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Currently, there is no patched version available for the dyna-travel-api package. The recommended action is to remove the package.
You should remove the dyna-travel-api package from your project and consider using a secure alternative.