Critical Malicious Code Vulnerability in quickswap-router-sdk
Summary
MAL-2025-191408: Malicious code in quickswap-router-sdk (npm). Affects quickswap-router-sdk versions 1.0.1. 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 quickswap-router-sdk is an npm package designed for facilitating transactions on the QuickSwap decentralized exchange. It provides developers with tools to integrate QuickSwap functionalities into their applications. However, this package has been compromised, leading to severe security risks for users who have it installed.
Vulnerability Detail
The vulnerability stems from a malicious code injection by the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal sensitive tokens and credentials, publishing them to GitHub, and propagating itself to other npm packages owned by the user. It also establishes persistence through GitHub actions and may even destroy the user's home directory. Any system running this package is considered fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall quickswap-router-sdk
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
There are no effective workarounds to mitigate the risks posed by this vulnerability. The only recommended action is to remove the package entirely and secure your environment.
Conclusion
The quickswap-router-sdk package has been compromised by a malicious worm, posing serious security threats to users. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring and vulnerability management practices are essential to protect your applications.
See every vulnerability recorded for quickswap-router-sdk →
FAQ
You should remove the quickswap-router-sdk package immediately and rotate any sensitive credentials stored on the affected system.
The malicious code can steal sensitive information such as tokens and credentials, potentially leading to unauthorized access to your accounts and data.
No, the package is compromised, and using it poses significant security risks. It is advised to remove it from your system.
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.
If exploited, this vulnerability can lead to data breaches, loss of sensitive information, and potential damage to your application's integrity.