Malicious Code Detected in dusthelpers-supplement Package - Security Alert
Summary
MAL-2025-18999: Malicious code in dusthelpers-supplement (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 dusthelpers-supplement package is a Node.js library designed to enhance the functionality of the Dust templating engine. It provides additional helpers that facilitate the rendering of templates in web applications. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the dusthelpers-supplement package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or lead to further exploitation of the application environment. The malicious nature of this vulnerability was discovered by security researchers from Amazon Inspector.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dusthelpers-supplement
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 dusthelpers-supplement package from your project by running the following command: npm uninstall dusthelpers-supplement. Consider using alternative libraries that provide similar functionality without the associated risks.
Conclusion
The dusthelpers-supplement package has been flagged for containing malicious code, which poses a significant security threat to applications that utilize it. It is crucial to take immediate action by removing the package and monitoring for updates or alternatives to ensure the security of your application.
See every vulnerability recorded for dusthelpers-supplement →
FAQ
dusthelpers-supplement is a Node.js library that enhances the Dust templating engine by providing additional helpers for rendering templates.
The malicious code was identified by security researchers from Amazon Inspector during routine checks of open-source packages.
Using the affected package can lead to unauthorized access to sensitive data, execution of arbitrary commands, and potential exploitation of the application.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
If immediate updates are not possible, consider removing the package and using alternative libraries until a safe version is available.