Critical Malicious Code Vulnerability in quickswap-default-staking-list-address Package
Summary
MAL-2025-191406: Malicious code in quickswap-default-staking-list-address (npm). Affects quickswap-default-staking-list-address versions 1.0.55. 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-default-staking-list-address package is an npm library designed for interacting with the QuickSwap decentralized exchange. It provides functionalities for staking and managing liquidity in a user-friendly manner. However, this package has been compromised, leading to severe security risks for users who have it installed.
Vulnerability Detail
The vulnerability originates from a malicious code injection by the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal tokens and credentials from users, publishing them to GitHub. It can propagate itself to other npm packages owned by the user and establish persistence through GitHub actions. Additionally, there is a risk that it may destroy the user's home directory, leading to significant data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall quickswap-default-staking-list-address
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 measure, users should avoid using the compromised package and refrain from executing any code that relies on it until it has been fully removed and replaced with a secure alternative.
Conclusion
The quickswap-default-staking-list-address package has been compromised, posing significant security risks to users. Immediate action is required to remove the package and secure any sensitive information. Users are encouraged to monitor their systems and consider using tools like Vulert for ongoing vulnerability management.
See every vulnerability recorded for quickswap-default-staking-list-address →
FAQ
You should immediately remove the package and rotate any secrets or keys stored on the affected machine.
The malicious code can steal sensitive information such as tokens and credentials, potentially leading to unauthorized access to your accounts.
You may need to find an alternative package or solution to replace the functionality provided by quickswap-default-staking-list-address.
Yes, you can use Vulert's playground at Vulert Scanner to check for vulnerabilities without needing to sign up.
Vulert monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights into potential risks.