Critical Malicious Code Vulnerability in axios-cancelable Package

axios-cancelable Updated 25 Nov 2025

Summary

25/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191389: Malicious code in axios-cancelable (npm). Affects axios-cancelable versions 1.0.1 – 1.0.2. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The axios-cancelable package is a popular npm library that enhances the axios HTTP client by allowing requests to be canceled. It is widely used in JavaScript applications for making HTTP requests. However, this package has been compromised, leading to significant security concerns for developers using it.

Vulnerability Detail

The vulnerability originates from a malicious payload introduced by the Sha1-Hulud: The Second Coming NPM worm. This worm steals sensitive tokens and credentials from users and publishes them to GitHub. It can also propagate itself to other NPM packages owned by the user and establish persistence through GitHub actions. Furthermore, the worm has the potential to destroy the user's home directory, posing a severe risk to data integrity and security.

How To Fix

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

npm uninstall axios-cancelable

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 removing the axios-cancelable package from your project until a secure version is released. You can do this by running: npm uninstall axios-cancelable.

Conclusion

The axios-cancelable package has been compromised by a malicious NPM worm, posing serious security risks to users. It is essential to update or remove the package to protect sensitive information and maintain application integrity. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for axios-cancelable →

Share this vulnerability

FAQ

axios-cancelable is an npm package that extends the axios HTTP client to allow for request cancellation, making it easier to manage HTTP requests in JavaScript applications.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to analyze your package-lock.json without any signup.

If you cannot update the package right away, consider removing it from your project as a temporary measure to prevent potential exploitation.

Using a compromised package can lead to unauthorized access to sensitive information, data loss, and potential exploitation of your application, which can harm your users and your reputation.

More information about this vulnerability can be found in the official security advisories and the GitHub repository for the axios-cancelable package.

How To Fix

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

npm uninstall axios-cancelable

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