Critical Malicious Code Vulnerability in quickswap-sdk Package

quickswap-sdk Updated 25 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191409: Malicious code in quickswap-sdk (npm). Affects quickswap-sdk versions 3.0.44. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The quickswap-sdk package is a JavaScript library designed for interacting with the QuickSwap decentralized exchange on the Ethereum blockchain. It provides developers with tools to facilitate trading, liquidity provision, and other functionalities associated with decentralized finance (DeFi). However, this package has been compromised, exposing users to severe security risks.

Vulnerability Detail

The vulnerability stems from a malicious code injection in the quickswap-sdk package, attributed to the Sha1-Hulud: The Second Coming NPM worm. This worm is capable of stealing sensitive tokens and credentials, publishing them to GitHub, and propagating itself to other NPM packages owned by the user. Additionally, it may establish persistence through GitHub actions and potentially destroy the user's home directory. Any system with this package installed is considered fully compromised, necessitating immediate action.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall quickswap-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

As a workaround, it is recommended to uninstall the quickswap-sdk package immediately using the command: npm uninstall quickswap-sdk. Ensure to monitor your system for any unusual activity and consider using alternative packages until a secure version is released.

Conclusion

The quickswap-sdk package has been compromised, leading to a critical vulnerability that poses significant risks to users. Immediate action is required to mitigate these risks, including uninstalling the package and rotating sensitive credentials. Monitoring for updates and using alternative packages is advisable until a secure version is available.

See every vulnerability recorded for quickswap-sdk →

Share this vulnerability

FAQ

The quickswap-sdk is a JavaScript library for interacting with the QuickSwap decentralized exchange, facilitating various DeFi operations.

The package was compromised by the Sha1-Hulud: The Second Coming NPM worm, which injected malicious code into the package.

If you have the quickswap-sdk package installed, you should uninstall it immediately and rotate any sensitive credentials stored on your system.

Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The consequences include theft of sensitive tokens and credentials, unauthorized access to your GitHub repositories, and possible destruction of your home directory.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall quickswap-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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback