Malicious Code Injection in miftaiky-choose-then Package

miftaiky-choose-then Updated 26 Nov 2025

Summary

12/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-160405: Malicious code in miftaiky-choose-then (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 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 miftaiky-choose-then package is part of the npm ecosystem, often used for various JavaScript applications. It is designed to facilitate certain functionalities within applications, but it has been compromised by malicious actors. This vulnerability allows attackers to exploit the package for nefarious purposes, including the automatic generation and publication of derivative packages that can pollute the npm registry.

Vulnerability Detail

The vulnerability originates from the package being part of a token reward campaign that floods npm with malicious packages. It contains scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior can lead to a polluted npm registry, affecting developers' reputations and potentially introducing security risks into applications that depend on these packages.

How To Fix

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

npm uninstall miftaiky-choose-then

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, you can remove the miftaiky-choose-then package from your project until a secure version is released. You can do this by executing the following command: npm uninstall miftaiky-choose-then.

Conclusion

The miftaiky-choose-then package has been identified as containing malicious code that can compromise applications using it. It is crucial to update or remove this package to safeguard your projects. Monitoring tools like Vulert can help you stay informed about vulnerabilities in your dependencies.

See every vulnerability recorded for miftaiky-choose-then →

Share this vulnerability

FAQ

It is an npm package used in JavaScript applications, but it has been compromised with malicious code.

The vulnerability can lead to the introduction of malicious code, which may compromise the security and integrity of your application.

You should update the package to the latest version or remove it from your project until a secure version is available.

You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json.

Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.

How To Fix

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

npm uninstall miftaiky-choose-then

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