Malicious code in @zahlen/checkout-angular (npm)
The npm package @zahlen/checkout-angular version 0.1.4 contains malicious code appended to its legitimate export. This code uses obfuscated eval and base64 encoding to hide its behavior, dynamically importing Node.js modules to evade static analysis. It queries an Ethereum smart contract to retrieve attacker-controlled host and port information, then connects to those hosts to download and execute arbitrary code via child_process.spawn. This creates a remote code execution channel triggered when the package's ESM module is imported in any Node.js context.
AI Analysis
Technical Summary
The @zahlen/checkout-angular npm package version 0.1.4 includes a supply-chain injected payload appended after the legitimate module exports. The payload is obfuscated using base64 and unicode escapes and uses eval to execute. It dynamically requires Node.js modules such as child_process, http, https, and zlib using escaped identifiers to avoid detection by static scanners. The malicious code queries an Ethereum contract at address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a via the Blockscout API and several public RPC endpoints to retrieve attacker-controlled host and port values. It then connects to these hosts over HTTP on port 443 and downloads data from specific paths, which it executes using child_process.spawn. This behavior constitutes a remote code execution channel controlled via on-chain data, representing a severe supply-chain compromise risk.
Potential Impact
Any Node.js environment that imports the ESM module of @zahlen/checkout-angular version 0.1.4 will execute attacker-controlled code, leading to remote code execution. This can result in full system compromise, data theft, or further malware deployment. The attack leverages blockchain-based command and control, making detection and mitigation more complex. This affects build tooling, server-side rendering, development servers, and tests that import the package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using version 0.1.4 of @zahlen/checkout-angular. Audit dependencies for this package and remove or replace it. Monitor for updates from the package maintainers or npm advisories for any official fixes. Until a fix is available, avoid importing this package in any Node.js context.
Malicious code in @zahlen/checkout-angular (npm)
Description
The npm package @zahlen/checkout-angular version 0.1.4 contains malicious code appended to its legitimate export. This code uses obfuscated eval and base64 encoding to hide its behavior, dynamically importing Node.js modules to evade static analysis. It queries an Ethereum smart contract to retrieve attacker-controlled host and port information, then connects to those hosts to download and execute arbitrary code via child_process.spawn. This creates a remote code execution channel triggered when the package's ESM module is imported in any Node.js context.
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 @zahlen/checkout-angular npm package version 0.1.4 includes a supply-chain injected payload appended after the legitimate module exports. The payload is obfuscated using base64 and unicode escapes and uses eval to execute. It dynamically requires Node.js modules such as child_process, http, https, and zlib using escaped identifiers to avoid detection by static scanners. The malicious code queries an Ethereum contract at address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a via the Blockscout API and several public RPC endpoints to retrieve attacker-controlled host and port values. It then connects to these hosts over HTTP on port 443 and downloads data from specific paths, which it executes using child_process.spawn. This behavior constitutes a remote code execution channel controlled via on-chain data, representing a severe supply-chain compromise risk.
Potential Impact
Any Node.js environment that imports the ESM module of @zahlen/checkout-angular version 0.1.4 will execute attacker-controlled code, leading to remote code execution. This can result in full system compromise, data theft, or further malware deployment. The attack leverages blockchain-based command and control, making detection and mitigation more complex. This affects build tooling, server-side rendering, development servers, and tests that import the package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using version 0.1.4 of @zahlen/checkout-angular. Audit dependencies for this package and remove or replace it. Monitor for updates from the package maintainers or npm advisories for any official fixes. Until a fix is available, avoid importing this package in any Node.js context.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12332
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735745bf8831d539159f4d
Added to database: 08/05/2026, 15:31:17 UTC
Last enriched: 08/05/2026, 17:25:41 UTC
Last updated: 08/05/2026, 17:25:41 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.