Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10174: Malicious code in type-atob (npm)

0
Critical
Published: 07/10/2026 (07/10/2026, 18:35:43 UTC)
Source: GCVE Database
Product: type-atob

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

npmghsa
type-atob
Affected versions
=3.3.7

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

AILast updated: 07/11/2026, 09:48:12 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses