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 typesript-cli (npm)

0
High
Published: 08/18/2026 (08/18/2026, 23:21:19 UTC)
Source: GCVE Database
Product: typesript-cli

Description

The 'typesript-cli' npm package version 1.0.0 is a malicious typosquatting package targeting users expecting the legitimate 'typescript' package. Upon installation, it decodes and downloads a Windows executable to the TEMP directory and runs it without verification. It also attempts to detect if running under WSL or virtualized Linux and executes a bridge launcher to run the payload on the Windows host, bypassing the Linux sandbox. Additionally, it sends platform information to a hardcoded IP address as an install beacon.

Affected software

npmghsa
typesript-cli
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: 08/19/2026, 14:54:51 UTC

Technical Analysis

The 'typesript-cli' package is a one-character typo-squatted malicious npm package impersonating the legitimate 'typescript' package. Its post-install script XOR-decodes a GitHub-hosted payload and downloads a Windows PE executable to TEMP\main.exe, which it executes without signature verification. When detected running under Windows Subsystem for Linux (WSL) or virtualized Linux, it further decodes and executes a bridge launcher command to run the payload on the Windows host, effectively crossing sandbox boundaries. The script also exfiltrates platform information to a hardcoded IP address (193.70.34.101) by reconstructing the IP from a string array to evade static detection. This behavior indicates a targeted attempt to infect Windows systems via npm package installation.

Potential Impact

Installation of this package results in execution of an unverified Windows executable, potentially leading to system compromise. The payload crosses sandbox boundaries when run under WSL or virtualized Linux, increasing the attack surface. The beaconing to a hardcoded IP address reveals installation and environment details to an attacker-controlled server, facilitating further malicious activity or tracking. No known exploits in the wild are reported yet, but the malicious behavior poses a high risk to affected systems.

Mitigation Recommendations

No official patch or fix is available since this is a malicious package rather than a vulnerability in legitimate software. Users should avoid installing 'typesript-cli' and verify package names carefully before installation. Remove the package if already installed and scan affected systems for the downloaded payload (TEMP\main.exe). Network monitoring or blocking connections to the IP 193.70.34.101 may help detect or prevent beaconing. Use trusted sources and package integrity verification to prevent typosquatting attacks.

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

Threat ID: 6a85b4cbacd9273b49252ec8

Added to database: 08/19/2026, 13:51:07 UTC

Last enriched: 08/19/2026, 14:54:51 UTC

Last updated: 08/19/2026, 14:54:51 UTC

Views: 2

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