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

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

Description

The npm package 'typesript-core' version 1.0.0 is a typosquatting malicious package impersonating 'typescript'. It contains no legitimate library functionality but executes a post-install script that decodes and contacts a command-and-control server. The script sends host fingerprint data, downloads a Windows executable to the temporary directory, and runs it silently. When installed under Windows Subsystem for Linux (WSL), it uses a PowerShell bridge to execute the payload on the Windows host. The malicious payload and commands are obfuscated using XOR encoding.

Affected software

npmghsa
typesript-core
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:55:06 UTC

Technical Analysis

The 'typesript-core' package at version 1.0.0 is a malicious typosquat of the legitimate 'typescript' npm package. Its index.js exports an empty object, providing no functionality. The package's postinstall script runs automatically upon installation, XOR-decodes a hardcoded payload URL and a PowerShell bridge command, and contacts a C2 server at IP 193.70.34.101 on port 20099 by POSTing a JSON host fingerprint. It then downloads a Windows PE executable to the %TEMP% directory as 'main.exe' and executes it detached and hidden. Under WSL, it executes a PowerShell command to launch the same payload on the Windows host. All payload URLs and commands are obfuscated with XOR encoding to evade detection.

Potential Impact

This package enables remote code execution on the host machine by downloading and executing a malicious Windows executable from a remote server. It can compromise Windows systems, including those running WSL, by silently executing malware. The malicious behavior occurs automatically upon npm install, potentially leading to system compromise without user awareness.

Mitigation Recommendations

Avoid installing the 'typesript-core' package, as it is a malicious typosquat. Remove any installations of this package immediately. Since no official patch or fix exists, users should rely on package name verification and use trusted sources. Employ npm security tools to detect and block typosquatting packages. Monitor for and remove any downloaded payloads such as '%TEMP%\main.exe'.

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

Threat ID: 6a85b4cbacd9273b49252eca

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

Last enriched: 08/19/2026, 14:55:06 UTC

Last updated: 08/19/2026, 14:55:06 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