MAL-2026-13820
Malicious code in khanbmnxls (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (2170fddb23040b2e55eeeb17188244072efdef033879036b45865f5b84ef7346) The package contains a single index.html that impersonates a Cloudflare Turnstile 'Just a moment...' challenge page. The inline JavaScript is heavily obfuscated (obfuscator.io-style `_0xNNNN` identifiers and a shuffled string array) and assembles a redirect URL beginning with `https://kh` from decoded string fragments, wired to a fake `data-sitekey` and an `onTurnstileComplete` callback. The package declares no npm lifecycle scripts (no preinstall/install/postinstall/prepare), no JavaScript `main`, and no `bin` entry, so `npm install` and `require()` of this package do not execute the HTML or its embedded script. The harm surface is limited to a browser that renders the file directly; developers installing the package from npm are not attacked at install or import time. The artifact is a phishing/redirect lure hosted on the npm registry rather than a functional Node package.
## Source: ghsa-malware (30db27aba41dd5dea17f1a3454277a9482c18d34fd9cd5d2ac8af1d8ea8f4eb0) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Are you affected?
Enter the version of the package you're using.
Affected packages
0 No fixed version published yet for khanbmnxls (npm). Pin to a known-safe version or switch to an alternative.