Malicious Code Detected in document.web.modules.files Package
Summary
MAL-2025-18577: Malicious code in document.web.modules.files (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 document.web.modules.files package is an npm library designed for handling file operations in web applications. It provides functionalities for managing files and modules within a web context. However, this package has been identified to contain malicious code, posing significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the document.web.modules.files package stems from the inclusion of malicious code that can compromise the security of applications using this library. This malicious code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. 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 document.web.modules.files
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 document.web.modules.files package from your project by executing: npm uninstall document.web.modules.files. This will prevent any potential exploitation of the malicious code until a fix is provided.
Conclusion
The document.web.modules.files package has been identified to contain malicious code, posing significant risks to applications. Users are strongly advised to update or remove the package to mitigate potential security threats. Utilizing tools like Vulert can help monitor for vulnerabilities in your software.
See every vulnerability recorded for document.web.modules.files →
FAQ
The document.web.modules.files package is an npm library used for managing file operations in web applications.
The malicious code can lead to unauthorized access and potential data breaches within applications that utilize this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Currently, there is no patched version available. Users are advised to uninstall the package until a secure version is released.
If removal is not an option, ensure to monitor your application closely for any unusual behavior and consider implementing additional security measures.