-= Per source details. Do not edit below this line.=-
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.
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.
{
"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"
]
}
]
}[
{
"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"
}
]
{
"evidence_files": [
{
"path": "index.html",
"sha256": "226de7b1f9f577c863f5b9eee4b2a0f479f57913f74fcc5d4cf44991b45d3b08",
"tlsh": "4fe2a45263c0341425178f3a3b2afee5e725799a71558c8bf20cbc48ff66c0ac9d9678"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/khanbmnxls/MAL-2026-13820.json"