{"id":"MAL-2026-15611","summary":"Malicious code in mn4xcouzvhus (npm)","details":"Published as part of a ClickFix-style fake-CAPTCHA phishing campaign documented by OX Security (see reference). The package's only file is index.html, declared as the npm \"main\" entry; package.json defines no preinstall/install/postinstall/prepare lifecycle script, so the payload does not execute at `npm install` time. index.html renders a fake Cloudflare Turnstile verification widget. An obfuscator.io-obfuscated inline script POSTs a hardcoded per-package \"hostKey\" to https://api.keyval.org/get, receives a base64-encoded IV:ciphertext pair, decrypts it client-side via the Web Crypto API (AES-CTR) using an embedded key to obtain a redirect URL, appends the visitor's original query-string parameters, and navigates the browser there via window.location.replace(). This \"dead drop\" design lets the operator change the phishing destination for every package sharing a hostKey without republishing to npm; OX Security observed keyval.org-served destinations including a typosquatted Microsoft login page and, at time of writing, a ChatGPT redirect. The package therefore does not attack the installing machine directly; it is used as a static file host on the npm CDN (e.g. unpkg/jsDelivr) so the index.html can be linked to and opened directly in a victim's browser as a phishing/ClickFix landing page. Published by npm user \"johnvaldez9a\" as part of a burst of near-identical single-purpose packages published between 2026-08-04 and 2026-08-24 that share this same fake-Turnstile-redirect page structure.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (00712e4c2e9e454cac83146be7d5bc22c4bb3ea6bba959ca1251db007cf6a5b0)\nThe package was found to contain malicious code or consuming dependency that contains malicious code\n","modified":"2026-08-31T18:31:21.149016624Z","published":"2026-08-26T14:55:09Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.0"],"id":"IN-MAL-2026-019259","import_time":"2026-08-31T18:22:27.062997203Z","modified_time":"2026-08-31T17:55:52Z","sha256":"00712e4c2e9e454cac83146be7d5bc22c4bb3ea6bba959ca1251db007cf6a5b0","source":"amazon-inspector"}]},"references":[{"type":"WEB","url":"https://www.ox.security/blog/research-clickfix-phishing-npm-packages/"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mn4xcouzvhus/v/1.0.0"}],"affected":[{"package":{"name":"mn4xcouzvhus","ecosystem":"npm","purl":"pkg:npm/mn4xcouzvhus"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mn4xcouzvhus/MAL-2026-15611.json","indicators":{"package_integrity":[{"filename":"mn4xcouzvhus-1.0.0.tgz","hashes":{"sha1":"dfa94c9be009d2f148ba8a512e2e082081e675b1","sha512_sri":"sha512-lwBnen9rBakpcDxJhCz7xc858LrdDR4gR5M9C/55zoVP7NFwJS304T98giTd3FwG5GVwcK89uwTUw+iyBK7yNw=="}}]},"iocs":{"files":[{"source":"PACKAGE_ARCHIVE","digests":{"sha256":"65f29a2c9b23576cb9296027bdc41ddafae69a2edc153cde713209b19365c26c"},"note":"Fake Cloudflare Turnstile page bundled as the package's main entry (from v1.0.0, the latest published version)","paths":["index.html"]}],"domains":["api.keyval.org"]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OX Security","contact":["https://www.ox.security/"],"type":"FINDER"}]}