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

0
Critical
Published: 08/18/2026 (08/18/2026, 23:20:22 UTC)
Source: GCVE Database
Product: typescriptt-cli

Description

The typescriptt-cli npm package is a typosquatting malicious package that executes a postinstall script to download and run a Windows executable from a personal GitHub release. It attempts to break out of Windows Subsystem for Linux (WSL) to execute the payload on the Windows host. The payload download URL and tracking endpoint use hardcoded, obfuscated data with no integrity verification. Only version 1.0.0 is affected.

Affected software

npmghsa
typescriptt-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:56:34 UTC

Technical Analysis

The typescriptt-cli package is a typosquat of typescript-cli. Its index.js is empty, but its postinstall.js script XOR-decodes a hardcoded byte array to reconstruct a URL pointing to a GitHub release hosting a Windows executable. Upon npm install, it downloads this executable to the %TEMP% directory and runs it detached and hidden. If running under WSL, it detects this environment and executes a PowerShell command to run the same payload on the Windows host, effectively escaping the WSL sandbox. Before downloading, it sends a JSON platform label to a hardcoded IP address for install tracking. The payload is unsigned and opaque, and no hash or signature verification is performed. The affected version is exactly 1.0.0.

Potential Impact

This malicious package can execute arbitrary code on the host system during installation, potentially leading to full compromise of the Windows environment. The WSL breakout capability increases the attack surface by allowing execution on the Windows host from a Linux subsystem. The lack of payload verification and use of a personal GitHub account for hosting increases risk of undetected malicious activity. The tracking POST request reveals installation to an attacker-controlled server.

Mitigation Recommendations

Users should avoid installing the typescriptt-cli package, especially version 1.0.0. Since this is a malicious typosquat package, the best mitigation is to verify package names carefully before installation. There is no official patch or fix as this is a malicious package rather than a vulnerability in legitimate software. Remove any installations of typescriptt-cli 1.0.0 and scan affected systems for the downloaded payload. Monitor for suspicious network activity to the hardcoded IP and GitHub URLs.

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

Threat ID: 6a85b4cbacd9273b49252eda

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

Last enriched: 08/19/2026, 14:56:34 UTC

Last updated: 08/20/2026, 01:06:24 UTC

Views: 8

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