Malicious Code Detected in debounce-function Package - Security Alert

debounce-function Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-18140: Malicious code in debounce-function (npm). Affected versions are not published. 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 debounce-function package is a popular utility in the npm ecosystem that helps developers manage the timing of function calls, preventing excessive execution of functions in rapid succession. This package is widely used in web development to enhance performance and user experience. However, it has recently been identified as containing malicious code, posing a significant security risk to applications that rely on it.

Vulnerability Detail

The vulnerability stems from the inclusion of malicious code within the debounce-function package. This code can potentially compromise the security of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and has been flagged as a critical concern by security experts.

How To Fix

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

npm uninstall debounce-function

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

If an immediate update is not feasible, consider temporarily removing the debounce-function package from your project until a secure version is available. This can be done by running: npm uninstall debounce-function. Alternatively, you may look for other debounce utility packages that do not have known vulnerabilities.

Conclusion

The debounce-function package has been identified as containing malicious code, posing a significant risk to applications that utilize it. It is crucial for developers to update to a secure version or find alternatives to ensure the safety of their applications. Utilizing tools like Vulert can help in monitoring and identifying such vulnerabilities in real-time.

See every vulnerability recorded for debounce-function →

Share this vulnerability

FAQ

The debounce-function package is used to limit the rate at which a function can fire. It is commonly used in scenarios like handling user input in forms or managing events in web applications.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in your software. You can use the Vulert playground at Vulert Scanner without signing up to analyze your package-lock.json.

Using the compromised package can lead to security breaches, unauthorized access to sensitive data, and potential exploitation of your application by malicious actors.

Yes, it is recommended to update to the latest version of the debounce-function package to mitigate the risk associated with the malicious code.

If an immediate update is not possible, consider removing the package temporarily or using an alternative package that provides similar functionality without the security risks.

How To Fix

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

npm uninstall debounce-function

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