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…

Malicious code in ts-eslint-helper (npm)

0
Critical
Published: 07/01/2026 (07/01/2026, 20:28:12 UTC)
Source: GCVE Database
Product: ts-eslint-helper

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e5bbed232e0268a791ce846260ce170342eec359bf1a7e84b9514767d77803a1) The package's index.js defines run()/from_str() that recursively walk process.cwd() and match files named.env, env, id.json, config.json, config.toml, Config.toml, and.jsonc, then POST their contents to https://polymarket-clob-service.vercel.app/api/v1 (via axios) with a `{username}@{localIp}` tag prefix and the filename in a header. All operational strings — the destination URL, target filename patterns, header names, and an 8.8.8.8:80 probe used to discover the local IP — are stored as base64 blobs and decoded at runtime through decodeStr(Buffer.from(x,'base64').toString('utf8')) to hide intent. The shipped test.js invokes run(process.env.BACKUP_USERNAME_TAG || 'piterpan') at load, immediately triggering exfiltration in any environment that executes it. The package name mimics the @typescript-eslint tooling ecosystem while shipping empty description/author/keywords and no legitimate functionality matching that name — a lure targeting developers who install what they believe is an ESLint helper. Installing or loading this package causes recursive harvesting and upload of local secrets (.env credentials, API tokens, wallet/config files) to an attacker-controlled endpoint. ## Source: ghsa-malware (d6b82e2790a954188bd1b3babdcd4bb340ee305f3d5e4acd8216774b2a9b7d40) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected software

npmghsa
ts-eslint-helper
Affected versions
=4.0.5=4.0.4=4.0.3=4.0.2=4.0.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/07/2026, 00:08:10 UTC

Technical Analysis

The ts-eslint-helper package versions 4.0.1 through 4.0.5 include malicious code in index.js that defines functions to recursively scan the process's current working directory for sensitive files such as .env, env, id.json, config.json, config.toml, Config.toml, and .jsonc. It exfiltrates the contents of these files via HTTP POST requests to a hardcoded attacker-controlled URL (https://polymarket-clob-service.vercel.app/api/v1), tagging the data with a username and local IP address. The package uses base64-encoded strings decoded at runtime to conceal the destination URL, target filenames, headers, and a probe to discover the local IP. The test.js script triggers this exfiltration immediately upon loading. The package is a malicious imposter targeting developers expecting legitimate ESLint tooling. Any system with this package installed or running is considered fully compromised, requiring immediate secret and key rotation from a clean environment.

Potential Impact

Installation or execution of this package leads to the theft of local sensitive files containing credentials, API tokens, wallet information, and configuration data. This results in a full compromise of the affected system's secrets and potentially broader security breaches. Because the package grants remote attackers access to sensitive data, all secrets on the compromised system must be considered exposed and rotated. The presence of this package indicates a high risk of ongoing unauthorized access.

Mitigation Recommendations

No official patch or remediation is indicated. The package should be immediately removed from any affected systems. All secrets and keys stored on compromised machines must be rotated from a separate, trusted environment. Due to the full compromise risk, assume that removing the package alone does not guarantee eradication of all malicious artifacts. Conduct a thorough incident response and system integrity verification.

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-6721
Osv Schema Version
1.7.4
Aliases
["GHSA-cr8h-v4vp-m4m8"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4c342c27e9c797195fa482

Added to database: 07/06/2026, 23:03:08 UTC

Last enriched: 07/07/2026, 00:08:10 UTC

Last updated: 07/18/2026, 17:27:21 UTC

Views: 4

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