MAL-2026-7022: Malicious code in tslint-conf (npm)
The npm package 'tslint-conf' version 7.2.1 is a malicious package masquerading as the legitimate 'pino' logger. It exports middleware that, when invoked, launches a hidden background process which fetches and executes attacker-controlled code with full Node.js privileges. This results in remote code execution on any system using the package. Systems with this package installed should be considered fully compromised, and all secrets on those systems should be rotated from a clean environment.
AI Analysis
Technical Summary
The 'tslint-conf' npm package (version 7.2.1) impersonates the 'pino' logger but contains malicious code. Its default export is an Express-style middleware that synchronously spawns a detached Node.js process running 'lib/caller.js'. This script fetches remote JavaScript code from an attacker-controlled Pinata IPFS URL and executes it using the Function constructor with full access to Node.js 'require'. This unconditional execution of remote code on every middleware use enables remote code execution on the host system. The package is therefore a supply chain malware threat that compromises any system that installs or runs it.
Potential Impact
Any system with 'tslint-conf' version 7.2.1 installed or running is fully compromised due to remote code execution capabilities granted to attacker-controlled code. This allows an attacker to execute arbitrary code with the privileges of the Node.js process, potentially leading to full system compromise. All secrets and keys stored on the affected system are at risk and should be rotated immediately from a secure environment. Removal of the package alone does not guarantee eradication of the attacker presence.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove 'tslint-conf' version 7.2.1 from all systems. Treat any affected system as fully compromised: rotate all secrets and credentials from a different, uncompromised device. Conduct a thorough investigation and remediation of the affected environment to ensure no persistent malicious code remains.
MAL-2026-7022: Malicious code in tslint-conf (npm)
Description
The npm package 'tslint-conf' version 7.2.1 is a malicious package masquerading as the legitimate 'pino' logger. It exports middleware that, when invoked, launches a hidden background process which fetches and executes attacker-controlled code with full Node.js privileges. This results in remote code execution on any system using the package. Systems with this package installed should be considered fully compromised, and all secrets on those systems should be rotated from a clean environment.
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 'tslint-conf' npm package (version 7.2.1) impersonates the 'pino' logger but contains malicious code. Its default export is an Express-style middleware that synchronously spawns a detached Node.js process running 'lib/caller.js'. This script fetches remote JavaScript code from an attacker-controlled Pinata IPFS URL and executes it using the Function constructor with full access to Node.js 'require'. This unconditional execution of remote code on every middleware use enables remote code execution on the host system. The package is therefore a supply chain malware threat that compromises any system that installs or runs it.
Potential Impact
Any system with 'tslint-conf' version 7.2.1 installed or running is fully compromised due to remote code execution capabilities granted to attacker-controlled code. This allows an attacker to execute arbitrary code with the privileges of the Node.js process, potentially leading to full system compromise. All secrets and keys stored on the affected system are at risk and should be rotated immediately from a secure environment. Removal of the package alone does not guarantee eradication of the attacker presence.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove 'tslint-conf' version 7.2.1 from all systems. Treat any affected system as fully compromised: rotate all secrets and credentials from a different, uncompromised device. Conduct a thorough investigation and remediation of the affected environment to ensure no persistent malicious code remains.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-7022
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-wchw-4whx-qhq5"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50baca68715ace435894cc
Added to database: 07/10/2026, 09:26:34 UTC
Last enriched: 07/10/2026, 10:25:59 UTC
Last updated: 07/10/2026, 10:25:59 UTC
Views: 7
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.