MAL-2026-10174: Malicious code in type-atob (npm)
The npm package 'type-atob' version 3.3.7 contains malicious code that executes attacker-controlled scripts fetched from remote URLs. When loaded, it spawns a detached Node.js child process that retrieves and runs JavaScript code with full Node module access, effectively compromising the host system. This behavior allows an attacker to execute arbitrary code and gain full control over the affected computer. Removal of the package alone may not fully remediate the compromise, and all secrets and keys on the system should be rotated immediately.
AI Analysis
Technical Summary
The 'type-atob' npm package version 3.3.7 masquerades as a pino-style logger but contains malicious functionality. Upon requiring the module, it spawns a detached Node.js child process running a script that fetches JSON data from attacker-controlled paste hosting services. It extracts a 'cookie' field from the JSON response and executes it as JavaScript code with full access to Node's require function, enabling arbitrary code execution. Additional attacker-controlled endpoints are embedded as base64-encoded strings within the package. The detached and stdio-ignored child process conceals this malicious loader from the parent process, leading to a fully compromised system once the package is installed or running.
Potential Impact
Any system with 'type-atob' version 3.3.7 installed or running is considered fully compromised. The attacker gains full control over the host environment, including the ability to execute arbitrary code with Node.js privileges. This compromises all secrets and keys stored on the system, necessitating immediate rotation from a secure environment. Removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the attacker.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. The recommended mitigation is to immediately remove 'type-atob' version 3.3.7 from all affected systems. Additionally, all secrets, keys, and credentials stored on compromised systems should be rotated from a separate, secure environment. Due to the nature of the compromise, a full system investigation and potential rebuild may be necessary to ensure complete remediation.
MAL-2026-10174: Malicious code in type-atob (npm)
Description
The npm package 'type-atob' version 3.3.7 contains malicious code that executes attacker-controlled scripts fetched from remote URLs. When loaded, it spawns a detached Node.js child process that retrieves and runs JavaScript code with full Node module access, effectively compromising the host system. This behavior allows an attacker to execute arbitrary code and gain full control over the affected computer. Removal of the package alone may not fully remediate the compromise, and all secrets and keys on the system should be rotated immediately.
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 'type-atob' npm package version 3.3.7 masquerades as a pino-style logger but contains malicious functionality. Upon requiring the module, it spawns a detached Node.js child process running a script that fetches JSON data from attacker-controlled paste hosting services. It extracts a 'cookie' field from the JSON response and executes it as JavaScript code with full access to Node's require function, enabling arbitrary code execution. Additional attacker-controlled endpoints are embedded as base64-encoded strings within the package. The detached and stdio-ignored child process conceals this malicious loader from the parent process, leading to a fully compromised system once the package is installed or running.
Potential Impact
Any system with 'type-atob' version 3.3.7 installed or running is considered fully compromised. The attacker gains full control over the host environment, including the ability to execute arbitrary code with Node.js privileges. This compromises all secrets and keys stored on the system, necessitating immediate rotation from a secure environment. Removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the attacker.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. The recommended mitigation is to immediately remove 'type-atob' version 3.3.7 from all affected systems. Additionally, all secrets, keys, and credentials stored on compromised systems should be rotated from a separate, secure environment. Due to the nature of the compromise, a full system investigation and potential rebuild may be necessary to ensure complete remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10174
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-w8g3-2xjv-6vf6"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a520eb168715ace438f4fe0
Added to database: 07/11/2026, 09:36:49 UTC
Last enriched: 07/11/2026, 09:48:12 UTC
Last updated: 07/12/2026, 04:26:36 UTC
Views: 6
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.