Malicious Code Detected in drforms Package - Security Alert
Summary
MAL-2025-18785: Malicious code in drforms (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 drforms package is an npm library designed to facilitate the creation and management of dynamic forms in web applications. It offers features such as customizable form fields, validation, and submission handling. 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 drforms package originates 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 harmful effects on the application's integrity. The issue affects all versions of the package starting from its introduction, 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 drforms
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 measure, consider removing the drforms package from your project until a secure version is released. You can uninstall it using the following command: npm uninstall drforms. Explore alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the drforms package highlights the importance of maintaining vigilance regarding open-source dependencies. Users are urged to update their packages promptly and consider alternative solutions to mitigate risks. Utilizing tools like Vulert can aid in monitoring vulnerabilities effectively.
See every vulnerability recorded for drforms →
FAQ
drforms is an npm library used for creating and managing dynamic forms in web applications.
The malicious code can lead to unauthorized access and data breaches, compromising the security of applications.
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.
Currently, there is no patched version available. Users should monitor the package repository for updates.
If removal is not an option, consider implementing additional security measures and monitoring your application closely until a secure version is released.