MAL-2026-10063: Malicious code in express-router-engine (npm)
The npm package 'express-router-engine' versions 3.6.5 through 3.6.8 contains malicious code that executes attacker-controlled payloads on the host machine. The package is heavily obfuscated to hide a command-and-control (C2) communication mechanism that downloads and runs encrypted code upon being required. The package name and description are inconsistent, indicating an attempt to masquerade as a legitimate routing framework. Any user installing or requiring this package risks executing arbitrary malicious code.
AI Analysis
Technical Summary
The 'express-router-engine' npm package (versions 3.6.5 to 3.6.8) contains a single obfuscated JavaScript file that executes immediately upon require(). This code constructs a URL from encrypted constants and the package version, then sends an HTTP GET request with an Authentication header to a remote server. The response is parsed to obtain a symmetric key and IV, which are used to decrypt a payload. The decrypted payload is written to a temporary file and executed via child_process.exec with hidden windows. The obfuscation hides all critical strings including module names, URLs, headers, crypto algorithms, and file paths. The package name and description mismatch suggests it is a typosquatting or name-confusion attack to trick users into installing it instead of a legitimate routing helper. This results in arbitrary code execution on any machine that requires this package.
Potential Impact
Any system that installs or requires the affected versions of 'express-router-engine' will execute attacker-controlled code, leading to a full compromise of the host environment. The malicious payload is fetched dynamically from a remote server, allowing the attacker to change or update the payload at will. This can lead to data theft, system manipulation, or further malware deployment. There is no indication that this is limited to specific environments or targets.
Mitigation Recommendations
No official patch or remediation is currently available. Users and organizations should immediately avoid installing or requiring 'express-router-engine' versions 3.6.5, 3.6.6, 3.6.7, and 3.6.8. Remove these versions from existing projects and replace them with trusted, verified packages. Monitor dependency trees for this package and audit for any signs of compromise. Since this is a malicious package, the best mitigation is to avoid its use entirely.
MAL-2026-10063: Malicious code in express-router-engine (npm)
Description
The npm package 'express-router-engine' versions 3.6.5 through 3.6.8 contains malicious code that executes attacker-controlled payloads on the host machine. The package is heavily obfuscated to hide a command-and-control (C2) communication mechanism that downloads and runs encrypted code upon being required. The package name and description are inconsistent, indicating an attempt to masquerade as a legitimate routing framework. Any user installing or requiring this package risks executing arbitrary malicious code.
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 'express-router-engine' npm package (versions 3.6.5 to 3.6.8) contains a single obfuscated JavaScript file that executes immediately upon require(). This code constructs a URL from encrypted constants and the package version, then sends an HTTP GET request with an Authentication header to a remote server. The response is parsed to obtain a symmetric key and IV, which are used to decrypt a payload. The decrypted payload is written to a temporary file and executed via child_process.exec with hidden windows. The obfuscation hides all critical strings including module names, URLs, headers, crypto algorithms, and file paths. The package name and description mismatch suggests it is a typosquatting or name-confusion attack to trick users into installing it instead of a legitimate routing helper. This results in arbitrary code execution on any machine that requires this package.
Potential Impact
Any system that installs or requires the affected versions of 'express-router-engine' will execute attacker-controlled code, leading to a full compromise of the host environment. The malicious payload is fetched dynamically from a remote server, allowing the attacker to change or update the payload at will. This can lead to data theft, system manipulation, or further malware deployment. There is no indication that this is limited to specific environments or targets.
Mitigation Recommendations
No official patch or remediation is currently available. Users and organizations should immediately avoid installing or requiring 'express-router-engine' versions 3.6.5, 3.6.6, 3.6.7, and 3.6.8. Remove these versions from existing projects and replace them with trusted, verified packages. Monitor dependency trees for this package and audit for any signs of compromise. Since this is a malicious package, the best mitigation is to avoid its use entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10063
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba6e68715ace4357fd7d
Added to database: 07/10/2026, 09:25:02 UTC
Last enriched: 07/10/2026, 09:52:35 UTC
Last updated: 07/10/2026, 15:26:29 UTC
Views: 9
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.
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.