Critical Malicious Code Vulnerability in quickswap-router-sdk

quickswap-router-sdk Updated 25 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

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 ↓

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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

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 →

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