MAL-2026-10164: Malicious code in type-async (npm)
The type-async npm package version 3.3.7 is a typosquatting malicious package masquerading as the legitimate pino logging library. It executes arbitrary code by fetching a remote JSON payload from anonymous pastebin services and running it with full Node.js module access without integrity checks. This allows an attacker controlling the remote payload to execute arbitrary code on the host machine.
AI Analysis
Technical Summary
The malicious type-async package (version 3.3.7) impersonates the pino package and exports a middleware factory that spawns a detached Node.js child process. This child process fetches a JSON payload from an untrusted, mutable remote pastebin URL, extracts a cookie field, and dynamically constructs and executes a function with the host's require context. The payload URLs are obfuscated in base64 within fake environment variables inside the package code. Because the fetched content is unpinned and executed without integrity verification, an attacker controlling the remote pastebin can execute arbitrary code on any system that installs this package version.
Potential Impact
Systems that install and run type-async version 3.3.7 are at risk of arbitrary code execution by attackers controlling the remote JSON payload. This can lead to full compromise of the host environment with access to all Node.js modules and capabilities. The malicious code is delivered via a typosquatting package, increasing the risk of accidental installation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately verify their dependencies to ensure type-async version 3.3.7 is not installed. Remove this package if found. Avoid installing packages with suspicious or typosquatting names. Monitor vendor advisories and trusted sources for updates or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
MAL-2026-10164: Malicious code in type-async (npm)
Description
The type-async npm package version 3.3.7 is a typosquatting malicious package masquerading as the legitimate pino logging library. It executes arbitrary code by fetching a remote JSON payload from anonymous pastebin services and running it with full Node.js module access without integrity checks. This allows an attacker controlling the remote payload to execute arbitrary code on the host machine.
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 malicious type-async package (version 3.3.7) impersonates the pino package and exports a middleware factory that spawns a detached Node.js child process. This child process fetches a JSON payload from an untrusted, mutable remote pastebin URL, extracts a cookie field, and dynamically constructs and executes a function with the host's require context. The payload URLs are obfuscated in base64 within fake environment variables inside the package code. Because the fetched content is unpinned and executed without integrity verification, an attacker controlling the remote pastebin can execute arbitrary code on any system that installs this package version.
Potential Impact
Systems that install and run type-async version 3.3.7 are at risk of arbitrary code execution by attackers controlling the remote JSON payload. This can lead to full compromise of the host environment with access to all Node.js modules and capabilities. The malicious code is delivered via a typosquatting package, increasing the risk of accidental installation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately verify their dependencies to ensure type-async version 3.3.7 is not installed. Remove this package if found. Avoid installing packages with suspicious or typosquatting names. Monitor vendor advisories and trusted sources for updates or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10164
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a520ec968715ace438f5fe7
Added to database: 07/11/2026, 09:37:13 UTC
Last enriched: 07/11/2026, 09:57:24 UTC
Last updated: 07/12/2026, 04:27:34 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.