Malicious Code Detected in duelstick Package - Security Alert
Summary
MAL-2025-18960: Malicious code in duelstick (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 duelstick package is an npm library designed for specific functionalities within JavaScript applications. It is utilized by developers for its ease of integration and user-friendly features. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the duelstick package. This code can potentially compromise the integrity of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical 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 duelstick
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 an alternative package that offers similar functionality without the associated risks. Ensure to review the security history of any alternative packages before integrating them into your project.
Conclusion
The duelstick package has been identified as containing malicious code, posing a serious threat to applications that utilize it. Users are urged to uninstall the package immediately and monitor for updates or alternatives. Utilizing tools like Vulert can help in identifying and managing such vulnerabilities effectively.
See every vulnerability recorded for duelstick →
FAQ
duelstick is an npm package used in JavaScript applications for specific functionalities. However, it has been found to contain malicious code.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
Immediately uninstall the duelstick package from your project and look for a secure alternative or wait for a patched version to be released.
Currently, there is no patched version available. Users are advised to uninstall the package until a secure version is released.
Regularly monitor your dependencies using tools like Vulert, and keep your packages updated to the latest secure versions.