Malicious code in twcvhjlksdmx (npm)
The npm package 'twcvhjlksdmx' versions 1.0.0 and 1.0.1 contains malicious code embedded in an index.html file that impersonates a Cloudflare interstitial and redirects users who open the HTML file in a browser. The package.json does not execute code during installation or require, so the malicious redirect only triggers if the HTML file is manually opened in a browser. Installation of this package can lead to full system compromise, requiring immediate secret and key rotation and package removal.
AI Analysis
Technical Summary
The 'twcvhjlksdmx' npm package versions 1.0.0 and 1.0.1 include a tarball with only package.json and index.html. The package.json declares no lifecycle hooks and sets main to index.html, which is not executable JavaScript, preventing automatic execution on install or require. The index.html file mimics a Cloudflare 'Just a moment' interstitial and contains an obfuscated script that constructs a URL and redirects the browser via window.location.replace. This redirect activates only if a user opens the HTML file in a browser, not during package installation or use in development. According to the GHSA malware advisory, any system with this package installed should be considered fully compromised, with immediate secret/key rotation recommended and package removal necessary, though removal may not eliminate all malicious artifacts.
Potential Impact
Installation of this package can result in full system compromise. The malicious code can redirect users who open the HTML file in a browser, potentially leading to further compromise. The advisory warns that all secrets and keys on affected systems should be rotated immediately from a different machine. Removing the package is necessary but may not fully remove all malicious software introduced by the package.
Mitigation Recommendations
Remove the 'twcvhjlksdmx' package immediately from all systems. Rotate all secrets and keys stored on affected computers from a separate, trusted device. Because full system compromise is possible, conduct a thorough investigation and remediation beyond just package removal. No official patch or fix is available; mitigation relies on removal and secret rotation.
Malicious code in twcvhjlksdmx (npm)
Description
The npm package 'twcvhjlksdmx' versions 1.0.0 and 1.0.1 contains malicious code embedded in an index.html file that impersonates a Cloudflare interstitial and redirects users who open the HTML file in a browser. The package.json does not execute code during installation or require, so the malicious redirect only triggers if the HTML file is manually opened in a browser. Installation of this package can lead to full system compromise, requiring immediate secret and key rotation and package removal.
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 'twcvhjlksdmx' npm package versions 1.0.0 and 1.0.1 include a tarball with only package.json and index.html. The package.json declares no lifecycle hooks and sets main to index.html, which is not executable JavaScript, preventing automatic execution on install or require. The index.html file mimics a Cloudflare 'Just a moment' interstitial and contains an obfuscated script that constructs a URL and redirects the browser via window.location.replace. This redirect activates only if a user opens the HTML file in a browser, not during package installation or use in development. According to the GHSA malware advisory, any system with this package installed should be considered fully compromised, with immediate secret/key rotation recommended and package removal necessary, though removal may not eliminate all malicious artifacts.
Potential Impact
Installation of this package can result in full system compromise. The malicious code can redirect users who open the HTML file in a browser, potentially leading to further compromise. The advisory warns that all secrets and keys on affected systems should be rotated immediately from a different machine. Removing the package is necessary but may not fully remove all malicious software introduced by the package.
Defensive Guidance
Remove the 'twcvhjlksdmx' package immediately from all systems. Rotate all secrets and keys stored on affected computers from a separate, trusted device. Because full system compromise is possible, conduct a thorough investigation and remediation beyond just package removal. No official patch or fix is available; mitigation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13836
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-pw3v-jpfx-hh5w"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7c9b4abf8831d539cdd61c
Added to database: 08/12/2026, 16:11:54 UTC
Last enriched: 08/12/2026, 16:58:11 UTC
Last updated: 08/12/2026, 16:58:11 UTC
Views: 2
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.