Malicious Code Detected in dynamic-form-components Package
Summary
MAL-2025-19030: Malicious code in dynamic-form-components (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 dynamic-form-components package is an npm library designed to facilitate the creation of dynamic forms in web applications. It allows developers to easily manage form inputs and validations, enhancing user experience. However, this package has been found to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the dynamic-form-components package. This code can potentially compromise the security of applications using this package, leading to unauthorized access, data breaches, or other malicious activities. The issue is particularly concerning as it affects all versions of the package starting from its introduction, making it critical for developers to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dynamic-form-components
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, consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can manually inspect the code of the dynamic-form-components package to identify and remove the malicious parts, though this is not a recommended long-term solution.
Conclusion
The discovery of malicious code in the dynamic-form-components package highlights the importance of regularly monitoring open-source dependencies for vulnerabilities. Developers should take immediate action to remove the affected package and consider alternatives to ensure the security of their applications.
See every vulnerability recorded for dynamic-form-components →
FAQ
It is an npm library used for creating dynamic forms in web applications, allowing for easy management of form inputs and validations.
The specific nature of the malicious code has not been disclosed, but it poses significant security risks to applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Currently, there is no patched version available. It is advisable to remove the package until a secure version is released.
Remove the dynamic-form-components package immediately and consider using alternative libraries until a secure version is released.