MAL-2026-10137: Malicious code in type-elint (npm)
The npm package 'type-elint' version 3.3.7 impersonates the pino logger and contains malicious code that downloads and executes arbitrary JavaScript from remote endpoints controlled by an attacker. This results in arbitrary code execution in the environment where the package is used. The malicious payload is fetched from mutable third-party paste services, allowing the attacker to change the payload at any time without updating the package. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system should be rotated immediately. Removal of the package alone may not eliminate all malicious software introduced.
AI Analysis
Technical Summary
The 'type-elint' npm package version 3.3.7 masquerades as the pino logger but includes a middleware factory that spawns a detached Node.js child process executing code retrieved from hardcoded remote URLs. These URLs are base64-encoded and hidden under a decoy environment variable to evade detection. The retrieved JavaScript is evaluated dynamically using the Function constructor with require in scope, enabling arbitrary code execution controlled by the attacker. Because the payload is hosted on mutable third-party paste services, the attacker can modify the delivered code at any time without updating the package itself. This behavior effectively compromises any system running this package.
Potential Impact
Systems with 'type-elint' version 3.3.7 installed are fully compromised due to arbitrary code execution from attacker-controlled remote code. This can lead to complete system takeover, data theft, and unauthorized access. All secrets and keys stored on the affected system should be considered exposed and must be rotated immediately. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the payload.
Mitigation Recommendations
No official patch or fix is currently available. Immediate removal of the 'type-elint' package version 3.3.7 from all systems is recommended. All secrets, credentials, and keys stored on affected systems should be rotated from a separate, secure environment. Because the package enables full system compromise, affected systems should be treated as fully compromised and undergo thorough incident response and forensic analysis. Monitor for any signs of persistent malicious activity beyond package removal.
MAL-2026-10137: Malicious code in type-elint (npm)
Description
The npm package 'type-elint' version 3.3.7 impersonates the pino logger and contains malicious code that downloads and executes arbitrary JavaScript from remote endpoints controlled by an attacker. This results in arbitrary code execution in the environment where the package is used. The malicious payload is fetched from mutable third-party paste services, allowing the attacker to change the payload at any time without updating the package. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system should be rotated immediately. Removal of the package alone may not eliminate all malicious software introduced.
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-elint' npm package version 3.3.7 masquerades as the pino logger but includes a middleware factory that spawns a detached Node.js child process executing code retrieved from hardcoded remote URLs. These URLs are base64-encoded and hidden under a decoy environment variable to evade detection. The retrieved JavaScript is evaluated dynamically using the Function constructor with require in scope, enabling arbitrary code execution controlled by the attacker. Because the payload is hosted on mutable third-party paste services, the attacker can modify the delivered code at any time without updating the package itself. This behavior effectively compromises any system running this package.
Potential Impact
Systems with 'type-elint' version 3.3.7 installed are fully compromised due to arbitrary code execution from attacker-controlled remote code. This can lead to complete system takeover, data theft, and unauthorized access. All secrets and keys stored on the affected system should be considered exposed and must be rotated immediately. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the payload.
Mitigation Recommendations
No official patch or fix is currently available. Immediate removal of the 'type-elint' package version 3.3.7 from all systems is recommended. All secrets, credentials, and keys stored on affected systems should be rotated from a separate, secure environment. Because the package enables full system compromise, affected systems should be treated as fully compromised and undergo thorough incident response and forensic analysis. Monitor for any signs of persistent malicious activity beyond package removal.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10137
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-v69h-23wr-hjg4"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a520eb168715ace438f4fe4
Added to database: 07/11/2026, 09:36:49 UTC
Last enriched: 07/11/2026, 09:48:18 UTC
Last updated: 07/11/2026, 09:48:18 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.