Malicious code in bgzxcuite2 (npm)
The npm package bgzxcuite2 version 1.0.0 contains malicious code that executes a browser-side redirect to a potentially harmful URL when its main HTML file is opened in a browser. The package does not execute any malicious code during installation or when imported in code, as it lacks lifecycle scripts and JavaScript entry points. However, the redirect behavior is consistent with phishing or traffic monetization tactics. Despite no direct attack on the installer's system during installation, the presence of this package on a computer is considered a full compromise, and all secrets and keys on the machine should be rotated immediately.
AI Analysis
Technical Summary
The npm package bgzxcuite2 version 1.0.0 includes an index.html file styled as a Cloudflare Turnstile challenge with an obfuscated inline script. Upon completion of the Turnstile widget, the script reconstructs a URL from an encoded array and redirects the browser using window.location.replace. The package does not execute this payload during npm install or require/import because it lacks lifecycle hooks and JavaScript entry points. This behavior suggests the package is used as a hosting channel for browser-side redirects, likely for phishing or traffic monetization. The package does not compromise the system at install time, but the vendor advisory states any system with this package installed should be considered fully compromised, recommending immediate secret/key rotation and package removal.
Potential Impact
The malicious redirect only triggers when the index.html file is opened in a browser, not during installation or runtime in Node.js environments. However, the vendor advisory considers any system with this package installed as fully compromised, implying potential additional undetected malicious activity or risk. Secrets and keys stored on the compromised system may be exposed, necessitating immediate rotation. Removing the package alone may not eliminate all malicious components if the system is compromised.
Mitigation Recommendations
Remove the bgzxcuite2 package version 1.0.0 from all systems. Immediately rotate all secrets and keys stored on any affected machines from a separate, uncompromised system. Because the vendor advisory warns that full compromise is possible, conduct a thorough investigation and remediation of the affected systems beyond just removing the package. Patch status is not applicable as this is a malicious package rather than a vulnerability with an official fix.
Malicious code in bgzxcuite2 (npm)
Description
The npm package bgzxcuite2 version 1.0.0 contains malicious code that executes a browser-side redirect to a potentially harmful URL when its main HTML file is opened in a browser. The package does not execute any malicious code during installation or when imported in code, as it lacks lifecycle scripts and JavaScript entry points. However, the redirect behavior is consistent with phishing or traffic monetization tactics. Despite no direct attack on the installer's system during installation, the presence of this package on a computer is considered a full compromise, and all secrets and keys on the machine should be rotated immediately.
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 npm package bgzxcuite2 version 1.0.0 includes an index.html file styled as a Cloudflare Turnstile challenge with an obfuscated inline script. Upon completion of the Turnstile widget, the script reconstructs a URL from an encoded array and redirects the browser using window.location.replace. The package does not execute this payload during npm install or require/import because it lacks lifecycle hooks and JavaScript entry points. This behavior suggests the package is used as a hosting channel for browser-side redirects, likely for phishing or traffic monetization. The package does not compromise the system at install time, but the vendor advisory states any system with this package installed should be considered fully compromised, recommending immediate secret/key rotation and package removal.
Potential Impact
The malicious redirect only triggers when the index.html file is opened in a browser, not during installation or runtime in Node.js environments. However, the vendor advisory considers any system with this package installed as fully compromised, implying potential additional undetected malicious activity or risk. Secrets and keys stored on the compromised system may be exposed, necessitating immediate rotation. Removing the package alone may not eliminate all malicious components if the system is compromised.
Mitigation Recommendations
Remove the bgzxcuite2 package version 1.0.0 from all systems. Immediately rotate all secrets and keys stored on any affected machines from a separate, uncompromised system. Because the vendor advisory warns that full compromise is possible, conduct a thorough investigation and remediation of the affected systems beyond just removing the package. Patch status is not applicable as this is a malicious package rather than a vulnerability with an official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13785
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-35pm-fj6m-m6v6"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7c9b46bf8831d539cdd276
Added to database: 08/12/2026, 16:11:50 UTC
Last enriched: 08/12/2026, 16:53:31 UTC
Last updated: 08/13/2026, 01:39:29 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.