Malicious Code Detected in idv-script Package - Security Alert
Summary
MAL-2026-636: Malicious code in idv-script (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 idv-script package is a Node.js library typically used for various scripting tasks in web applications. It is designed to facilitate the execution of scripts and automate processes. 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 idv-script package originates from the inclusion of malicious code that can compromise the security of applications using this package. This code can lead to unauthorized access, data breaches, and potential exploitation of the system. The malicious nature of this code was identified by Amazon Inspector, highlighting the need for immediate action to mitigate risks associated with its use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall idv-script
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, you can remove the idv-script package from your project until a secure version is available. You can do this by executing the command: 'npm uninstall idv-script'. This will prevent any potential exploitation from the malicious code present in the package.
Conclusion
The discovery of malicious code in the idv-script package necessitates immediate action to protect applications from potential security threats. By updating or uninstalling the package, developers can safeguard their systems against exploitation.
See every vulnerability recorded for idv-script →
FAQ
idv-script is a Node.js library used for executing scripts and automating tasks in web applications.
The malicious code can lead to unauthorized access and data breaches, posing significant security risks.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
As a temporary measure, you can uninstall the idv-script package to mitigate risks until a secure version is available.
The vulnerability was identified by Amazon Inspector, a security assessment service.