Malicious code in bmgki3g6fh3 (npm)
The npm package 'bmgki3g6fh3' version 1.0.0 contains malicious code embedded in an index.html file that renders a spoofed Cloudflare security verification page. When a browser loads this page, it executes obfuscated JavaScript that redirects the user to a constructed URL, facilitating phishing or redirect attacks. The package does not execute code during installation or require time, so it does not pose a supply-chain risk through npm install or require(). This is a case of registry abuse to host phishing infrastructure rather than a direct installer compromise.
AI Analysis
Technical Summary
The 'bmgki3g6fh3' npm package (version 1.0.0) includes a single file, index.html, declared as its main entry point. This HTML page mimics a Cloudflare 'Just a moment...' or Turnstile security verification interstitial, including a fake Ray ID and a real Turnstile widget. Upon user interaction, an obfuscated script dynamically assembles a URL and redirects the browser to it, potentially leading to phishing or malicious sites. No lifecycle scripts (preinstall, install, postinstall, prepare) are present, and no JavaScript code executes during npm install or require(), so the malicious behavior only triggers when the index.html page is loaded in a browser. This represents registry abuse for hosting phishing or redirect infrastructure rather than a supply-chain attack targeting developers or build systems.
Potential Impact
Users who open the index.html file in a browser may be redirected to malicious URLs, potentially exposing them to phishing attacks or other web-based threats. However, installing or requiring the package in a development environment does not trigger malicious code execution. Despite this, the ghsa-malware source warns that any computer with this package installed or running should be considered fully compromised, recommending immediate rotation of all secrets and keys. This suggests that the package may be part of a broader compromise or that additional malicious payloads could be present beyond the described behavior.
Mitigation Recommendations
Remove the 'bmgki3g6fh3' package version 1.0.0 from all systems. Rotate all secrets and keys stored on any affected machines from a separate, trusted device. Since the malicious behavior only manifests when the index.html is loaded in a browser, avoid opening this file or any related URLs. There is no official patch or fix available; the package itself is malicious and should be considered untrusted. Monitor for any signs of further compromise and conduct a thorough security assessment of affected systems.
Malicious code in bmgki3g6fh3 (npm)
Description
The npm package 'bmgki3g6fh3' version 1.0.0 contains malicious code embedded in an index.html file that renders a spoofed Cloudflare security verification page. When a browser loads this page, it executes obfuscated JavaScript that redirects the user to a constructed URL, facilitating phishing or redirect attacks. The package does not execute code during installation or require time, so it does not pose a supply-chain risk through npm install or require(). This is a case of registry abuse to host phishing infrastructure rather than a direct installer compromise.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'bmgki3g6fh3' npm package (version 1.0.0) includes a single file, index.html, declared as its main entry point. This HTML page mimics a Cloudflare 'Just a moment...' or Turnstile security verification interstitial, including a fake Ray ID and a real Turnstile widget. Upon user interaction, an obfuscated script dynamically assembles a URL and redirects the browser to it, potentially leading to phishing or malicious sites. No lifecycle scripts (preinstall, install, postinstall, prepare) are present, and no JavaScript code executes during npm install or require(), so the malicious behavior only triggers when the index.html page is loaded in a browser. This represents registry abuse for hosting phishing or redirect infrastructure rather than a supply-chain attack targeting developers or build systems.
Potential Impact
Users who open the index.html file in a browser may be redirected to malicious URLs, potentially exposing them to phishing attacks or other web-based threats. However, installing or requiring the package in a development environment does not trigger malicious code execution. Despite this, the ghsa-malware source warns that any computer with this package installed or running should be considered fully compromised, recommending immediate rotation of all secrets and keys. This suggests that the package may be part of a broader compromise or that additional malicious payloads could be present beyond the described behavior.
Mitigation Recommendations
Remove the 'bmgki3g6fh3' package version 1.0.0 from all systems. Rotate all secrets and keys stored on any affected machines from a separate, trusted device. Since the malicious behavior only manifests when the index.html is loaded in a browser, avoid opening this file or any related URLs. There is no official patch or fix available; the package itself is malicious and should be considered untrusted. Monitor for any signs of further compromise and conduct a thorough security assessment of affected systems.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13789
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-wm4g-m94m-47vj"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7c9b46bf8831d539cdd26d
Added to database: 08/12/2026, 16:11:50 UTC
Last enriched: 08/12/2026, 16:53:04 UTC
Last updated: 08/13/2026, 01:39:36 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.