Malicious code in hgdvfuflnb (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13813
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (dfc8e3c1c86c0f0589e1ab4d2a6e3f3a757b758c1f126e0d197f3924d9637922) Package [email protected] contains a single file, index.html, declared as the package main. The HTML impersonates a Cloudflare 'Just a moment...' Turnstile challenge page (data-sitekey="0x4AAAAAADrvn4rDM7WVvgPh") and, on the Turnstile callback, runs an obfuscator.io-style string-array routine that assembles a target URL and calls window.location.assign(targetUrl). There is no JavaScript entry point, no lifecycle scripts (preinstall/install/postinstall/prepare), and no importable module — package.json declares main:"index.html" and files:["index.html"], so npm install and require('hgdvfuflnb') produce no code execution on the installer. The package is not a functional Node module; it is a browser phishing/redirector kit staged on the npm registry so the HTML can be fetched via public npm CDN mirrors (unpkg, jsdelivr). Installer-side impact is nil (no install-time or import-time code path), but the artifact abuses the registry as anonymous static hosting for hostile content aimed at end users who load the HTML through a CDN. ## Source: ghsa-malware (9786658f92af348d6108189015d23e246e1f9d5ccea934ee1ab012b521db0c6c) 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:51 UTC
- Source modified
- 12 Aug 2026 13:00:16 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.