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-jest (npm)

0
High
Published: 07/09/2026 (07/09/2026, 15:41:21 UTC)
Source: GCVE Database
Product: ts-eslint-jest

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8e1ffed26d2d64bf9076210504de22b87e27a065821dedbc708fb05f7c47db74) The package [email protected] presents as a TypeScript/ESLint/Jest helper but ships lib/collect.js, which imports child_process and invokes execSync('bash...') at line 205 and execSync('zsh...') at line 221. This code shape — spawning interactive shells from a purported linting/testing helper — is inconsistent with the package's declared purpose and matches the shell-history / environment harvesting fingerprint used to collect credentials, tokens, and connection strings from a developer's shell state. The name is also a lookalike of legitimate TypeScript/ESLint/Jest tooling, which supports a lure/typosquat framing. Automated tracing of collect.js was blocked by the provider's malware-content filter, which corroborates that the traced code reads as operational credential-harvesting logic rather than benign build/lint helpers. ## Source: ghsa-malware (81ea1325df356dbcfeb455b0c18cb09dbb9cdac542fe91c7aafff35a0d63a025) 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-jest
Affected versions
=1.0.0

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:17:33 UTC

Technical Analysis

The [email protected] npm package includes malicious code in lib/collect.js that imports child_process and executes execSync calls to spawn interactive bash and zsh shells. This code is designed to harvest credentials, tokens, and connection strings from the developer's shell environment, which is inconsistent with the package's purported function as a linting/testing helper. The package name is a lookalike of legitimate tooling, indicating a typosquatting attack vector. Automated tracing was blocked by malware filters, confirming the malicious nature of the code. There is no evidence of known exploits in the wild or available patches.

Potential Impact

Installation of [email protected] can lead to unauthorized collection of sensitive environment data, including credentials and tokens, from the developer's shell environment. This compromises developer security and potentially exposes access credentials to attackers. The malicious code executes shell commands that can harvest sensitive information without user consent.

Mitigation Recommendations

No official patch or remediation is currently documented for [email protected]. Users should avoid installing or using this package. Remove any installations of [email protected] from development environments. Verify dependencies to ensure no transitive inclusion of this malicious package. Monitor for and block typosquatting packages with similar names. Check vendor advisories or trusted sources for updates on remediation.

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-10076
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50baad68715ace43585841

Added to database: 07/10/2026, 09:26:05 UTC

Last enriched: 07/10/2026, 10:17:33 UTC

Last updated: 07/31/2026, 14:03:30 UTC

Views: 25

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