Critical Malicious Code Vulnerability in svelte-autocomplete-select Package

svelte-autocomplete-select Updated 25 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191016: Malicious code in svelte-autocomplete-select (npm). Affects svelte-autocomplete-select versions 1.1.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 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 svelte-autocomplete-select package is a popular npm library designed to provide autocomplete functionality for Svelte applications. It allows developers to easily implement dropdowns with search capabilities, enhancing user experience. However, this package has been found to contain malicious code, posing significant security risks to any application that utilizes it.

Vulnerability Detail

The vulnerability originates from the inclusion of malicious code within the svelte-autocomplete-select package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code is classified under CWE-506, indicating that it embeds harmful functionalities that can lead to severe security breaches.

How To Fix

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

npm uninstall svelte-autocomplete-select

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, you can temporarily disable the functionalities that rely on the svelte-autocomplete-select package until a secure alternative is implemented. Additionally, ensure that all secrets and keys stored on the affected computer are rotated immediately from a different, secure machine.

Conclusion

The discovery of malicious code within the svelte-autocomplete-select package poses a serious threat to applications using it. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.

See every vulnerability recorded for svelte-autocomplete-select →

Share this vulnerability

FAQ

You should immediately remove the package from your project and rotate any sensitive information stored on the affected machine.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Currently, there is no patched version available for the compromised svelte-autocomplete-select package. It is recommended to remove it entirely.

Failing to address this vulnerability can lead to unauthorized access to sensitive data, potential data breaches, and full control of the affected machine by malicious actors.

While many npm packages are safe, it is essential to regularly monitor and audit your dependencies for vulnerabilities using tools like Vulert.

How To Fix

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

npm uninstall svelte-autocomplete-select

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