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-7022: Malicious code in tslint-conf (npm)

0
Critical
Published: 07/08/2026 (07/08/2026, 21:15:42 UTC)
Source: GCVE Database
Product: tslint-conf

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

npmghsa
tslint-conf
Affected versions
=7.2.1

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/10/2026, 10:25:59 UTC

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.

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-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 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