MAL-2026-6491: Malicious code in hexo-deployer-wrangler (npm)
The npm package hexo-deployer-wrangler version 1.0.4 contains malicious code embedded in its binding.gyp file. This file uses GYP command-expansion syntax to execute arbitrary shell commands during the npm install process, effectively allowing code execution on the installer's machine. The package impersonates legitimate hexo-deployer and Cloudflare wrangler tooling, making it a supply chain attack vector. Installing this package can lead to full system compromise, requiring immediate removal and secret rotation.
AI Analysis
Technical Summary
The hexo-deployer-wrangler npm package version 1.0.4 includes a binding.gyp file that exploits the node-gyp rebuild process triggered implicitly by npm when binding.gyp is present. The file contains GYP command-expansion syntax (`<!(...)`) in the targets/sources fields, which executes shell commands during configuration. Since the package lacks native source files, the binding.gyp's purpose is solely to run malicious shell commands, enabling arbitrary code execution on the installer's machine during npm install. The package name mimics legitimate hexo-deployer and Cloudflare wrangler tools to deceive users. This results in a supply chain compromise where any system installing this package is considered fully compromised.
Potential Impact
Installing hexo-deployer-wrangler version 1.0.4 results in arbitrary code execution on the installer's machine during the npm install process. This can lead to full system compromise, including unauthorized access to secrets and keys stored on the system. The attacker may gain persistent control, and simply removing the package does not guarantee removal of all malicious artifacts.
Mitigation Recommendations
No official patch or fix is currently available. Users should immediately remove the hexo-deployer-wrangler package version 1.0.4 from their systems. All secrets and keys stored on affected machines should be rotated from a secure, uncompromised environment. Avoid installing packages with suspicious or impersonating names and verify package authenticity before installation. Monitor vendor advisories for any updates or official remediation.
MAL-2026-6491: Malicious code in hexo-deployer-wrangler (npm)
Description
The npm package hexo-deployer-wrangler version 1.0.4 contains malicious code embedded in its binding.gyp file. This file uses GYP command-expansion syntax to execute arbitrary shell commands during the npm install process, effectively allowing code execution on the installer's machine. The package impersonates legitimate hexo-deployer and Cloudflare wrangler tooling, making it a supply chain attack vector. Installing this package can lead to full system compromise, requiring immediate removal and secret rotation.
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 hexo-deployer-wrangler npm package version 1.0.4 includes a binding.gyp file that exploits the node-gyp rebuild process triggered implicitly by npm when binding.gyp is present. The file contains GYP command-expansion syntax (`<!(...)`) in the targets/sources fields, which executes shell commands during configuration. Since the package lacks native source files, the binding.gyp's purpose is solely to run malicious shell commands, enabling arbitrary code execution on the installer's machine during npm install. The package name mimics legitimate hexo-deployer and Cloudflare wrangler tools to deceive users. This results in a supply chain compromise where any system installing this package is considered fully compromised.
Potential Impact
Installing hexo-deployer-wrangler version 1.0.4 results in arbitrary code execution on the installer's machine during the npm install process. This can lead to full system compromise, including unauthorized access to secrets and keys stored on the system. The attacker may gain persistent control, and simply removing the package does not guarantee removal of all malicious artifacts.
Mitigation Recommendations
No official patch or fix is currently available. Users should immediately remove the hexo-deployer-wrangler package version 1.0.4 from their systems. All secrets and keys stored on affected machines should be rotated from a secure, uncompromised environment. Avoid installing packages with suspicious or impersonating names and verify package authenticity before installation. Monitor vendor advisories for any updates or official remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6491
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-vx8x-rr42-fwhx"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a3ef7b127e9c79719ffb926
Added to database: 06/26/2026, 22:05:37 UTC
Last enriched: 06/26/2026, 22:29:52 UTC
Last updated: 06/26/2026, 22:29:52 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.