Malicious Code Detected in adform-docs Package: A Critical Security Alert
Summary
MAL-2025-14090: Malicious code in adform-docs (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 adform-docs package is a Node.js library designed for documentation purposes, often utilized in web applications to manage and present documentation content. It is widely used due to its ease of integration and functionality. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that incorporate it.
Vulnerability Detail
The vulnerability in the adform-docs package stems from the inclusion of malicious code that can compromise the integrity and security of applications using this library. This code may allow unauthorized access to sensitive data, facilitate data exfiltration, or enable other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it imperative 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 adform-docs
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
If an immediate update is not feasible, consider removing the adform-docs package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall adform-docs'. Additionally, review your application for any potential exposure to the malicious code.
Conclusion
The discovery of malicious code in the adform-docs package highlights the importance of maintaining vigilance in software dependencies. Users are strongly encouraged to update their packages promptly and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for adform-docs →
FAQ
adform-docs is a Node.js library used for managing and presenting documentation content in web applications.
The malicious code can compromise application security, potentially leading to unauthorized access to sensitive data or other harmful activities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Yes, users are advised to update to the latest version of the adform-docs package to mitigate the security risks.
Consider uninstalling the adform-docs package until a secure version is available, and review your application for any exposure to the malicious code.