MAL-2026-13820Malicious code in khanbmnxls (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | khanbmnxls | * |
| npm | khanbmnxls | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-13820","published":"2026-08-12T10:29:53Z","modified":"2026-08-12T12:53:38.436651542Z","aliases":["GHSA-f4qx-qcrw-f6f5"],"summary":"Malicious code in khanbmnxls (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2170fddb23040b2e55eeeb17188244072efdef033879036b45865f5b84ef7346)\nThe 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.\n\n## Source: ghsa-malware (30db27aba41dd5dea17f1a3454277a9482c18d34fd9cd5d2ac8af1d8ea8f4eb0)\nAny 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.\n","affected":[{"package":{"name":"khanbmnxls","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.html","sha256":"226de7b1f9f577c863f5b9eee4b2a0f479f57913f74fcc5d4cf44991b45d3b08","tlsh":"4fe2a45263c0341425178f3a3b2afee5e725799a71558c8bf20cbc48ff66c0ac9d9678"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f4qx-qcrw-f6f5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/khanbmnxls/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-f4qx-qcrw-f6f5","import_time":"2026-08-12T10:39:02.399641328Z","modified_time":"2026-08-12T10:29:54Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"30db27aba41dd5dea17f1a3454277a9482c18d34fd9cd5d2ac8af1d8ea8f4eb0","source":"ghsa-malware"},{"id":"IN-MAL-2026-017485","import_time":"2026-08-12T12:51:45.283864749Z","modified_time":"2026-08-12T12:28:19Z","sha256":"2170fddb23040b2e55eeeb17188244072efdef033879036b45865f5b84ef7346","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0