Malicious code in khanbmnxls (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13820
Published--- _-= 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.
- Source published
- 12 Aug 2026 10:29:53 UTC
- Source modified
- 12 Aug 2026 13:00:23 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.