Malicious Code Detected in digital-api Package - Vulnerability MAL-2025-18450
Summary
MAL-2025-18450: Malicious code in digital-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 digital-api package is an npm library designed to facilitate API interactions in JavaScript applications. It offers various functionalities that simplify the process of making API calls, handling responses, and managing data. However, it has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the digital-api package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code can lead to unauthorized access, data breaches, or other malicious activities. 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 digital-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 remove the digital-api package from their project until a secure version is released. This can be done using the command: npm uninstall digital-api.
Conclusion
The digital-api package has been identified to contain malicious code, posing a significant risk to applications that utilize it. Users are strongly advised to update the package or remove it until a secure version is available. Regular monitoring of dependencies using tools like Vulert can help maintain application security.
See every vulnerability recorded for digital-api →
FAQ
The digital-api package is an npm library used for simplifying API interactions in JavaScript applications.
The vulnerability involves the presence of malicious code within the digital-api package, which can lead to security breaches.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If an immediate update is not possible, consider uninstalling the package as a temporary measure to mitigate risks.
Detailed information about the vulnerability can be found in the official GitHub repository of the malicious packages.