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

0
Critical
Published: 06/19/2026 (06/19/2026, 08:28:32 UTC)
Source: GCVE Database
Product: ts-esys

Description

The npm package ts-esys version 0.0.5 is a malicious package impersonating the legitimate big.js library. It contains hidden runtime code that loads and executes code from a concealed dependency websocket-slot, which is unrelated to the advertised functionality. This hidden code executes silently on every import or require of ts-esys, potentially compromising the host system. Systems with this package installed should be considered fully compromised, and all secrets and keys on those systems must be rotated from a clean environment.

Affected software

npmghsa
ts-esys
Affected versions
=0.0.5

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:08:26 UTC

Technical Analysis

The ts-esys package (version 0.0.5) published on npm impersonates the legitimate big.js library by copying its metadata and README, falsely claiming no dependencies. However, it includes a hidden runtime dependency on websocket-slot, which executes code on every import or require of ts-esys. Errors from this execution are silently caught and ignored, concealing the malicious behavior. This pattern is a known supply-chain attack technique that allows arbitrary code execution on any system that installs the package. The malicious code compromises the system, potentially exposing all stored secrets and keys.

Potential Impact

Any system that installs or runs ts-esys version 0.0.5 is considered fully compromised. The malicious code executes with the privileges of the importing process, potentially allowing attackers to access or exfiltrate sensitive data, including secrets and keys. Removing the package does not guarantee full remediation, as the attacker may have established persistent control or installed additional malware.

Mitigation Recommendations

There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove ts-esys version 0.0.5 from all systems. All secrets and keys stored on affected systems should be rotated from a separate, uncompromised environment. Monitor for any signs of further compromise and consider a full system rebuild if necessary.

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-6205
Osv Schema Version
1.7.4
Aliases
["GHSA-76f5-jq4m-cjc3"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba9168715ace435822e5

Added to database: 07/10/2026, 09:25:37 UTC

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

Last updated: 07/26/2026, 22:10:00 UTC

Views: 30

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