Malicious code in chain-async-dom (npm)
The npm package 'chain-async-dom' version 1.3.6 masquerades as a pino-compatible logger but contains malicious code that fetches and executes attacker-controlled JavaScript from an IPFS gateway. This results in arbitrary remote code execution with full access to the Node.js runtime, filesystem, network, and environment of the consumer. The package also includes additional mutable payload channels via embedded URLs, increasing the attack surface.
AI Analysis
Technical Summary
The 'chain-async-dom' npm package (version 1.3.6) pretends to be a pino-compatible logger by mirroring pino's internal file structure. However, its main entry point exports a middleware function that spawns a detached subprocess executing a script (lib/vcall.js). This script retrieves JavaScript code from a hardcoded IPFS gateway URL and executes it dynamically using 'new Function.constructor', allowing the fetched code unrestricted access to the consumer's Node.js environment. Additional embedded URLs provide further mutable payload delivery mechanisms. This design enables attackers to execute arbitrary code remotely on systems that install and invoke this package as intended.
Potential Impact
Consumers of the 'chain-async-dom' package version 1.3.6 are at risk of arbitrary remote code execution. The malicious code runs with the privileges of the Node.js process, potentially compromising the filesystem, network communications, environment variables, and overall system integrity. The attacker-controlled payload is mutable and delivered from decentralized IPFS and other URLs, making detection and mitigation more challenging.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately cease using the 'chain-async-dom' package version 1.3.6 and remove it from their projects. Avoid installing or invoking this package. Monitor vendor advisories or trusted sources for any updates or official fixes. Given the nature of the malicious code, manual remediation involves removing the package and auditing affected systems for compromise.
Malicious code in chain-async-dom (npm)
Description
The npm package 'chain-async-dom' version 1.3.6 masquerades as a pino-compatible logger but contains malicious code that fetches and executes attacker-controlled JavaScript from an IPFS gateway. This results in arbitrary remote code execution with full access to the Node.js runtime, filesystem, network, and environment of the consumer. The package also includes additional mutable payload channels via embedded URLs, increasing the attack surface.
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 'chain-async-dom' npm package (version 1.3.6) pretends to be a pino-compatible logger by mirroring pino's internal file structure. However, its main entry point exports a middleware function that spawns a detached subprocess executing a script (lib/vcall.js). This script retrieves JavaScript code from a hardcoded IPFS gateway URL and executes it dynamically using 'new Function.constructor', allowing the fetched code unrestricted access to the consumer's Node.js environment. Additional embedded URLs provide further mutable payload delivery mechanisms. This design enables attackers to execute arbitrary code remotely on systems that install and invoke this package as intended.
Potential Impact
Consumers of the 'chain-async-dom' package version 1.3.6 are at risk of arbitrary remote code execution. The malicious code runs with the privileges of the Node.js process, potentially compromising the filesystem, network communications, environment variables, and overall system integrity. The attacker-controlled payload is mutable and delivered from decentralized IPFS and other URLs, making detection and mitigation more challenging.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately cease using the 'chain-async-dom' package version 1.3.6 and remove it from their projects. Avoid installing or invoking this package. Monitor vendor advisories or trusted sources for any updates or official fixes. Given the nature of the malicious code, manual remediation involves removing the package and auditing affected systems for compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10082
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a50ba8c68715ace43581ea6
Added to database: 07/10/2026, 09:25:32 UTC
Last enriched: 09/12/2026, 19:31:40 UTC
Last updated: 09/12/2026, 19:31:40 UTC
Views: 82
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.