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

0
High
Published: 08/18/2026 (08/18/2026, 23:20:55 UTC)
Source: GCVE Database
Product: typescriptt-core

Description

The typescriptt-core npm package is a typosquatting malicious package impersonating the TypeScript ecosystem. It contains no legitimate functionality but runs a post-install script that XOR-decodes a hidden URL and PowerShell command. On Windows, it downloads and executes a malicious executable from a GitHub release URL. On Windows Subsystem for Linux (WSL), it invokes PowerShell on the Windows host to perform the same action. Additionally, it sends a beacon with host platform information to a hardcoded IP address over unencrypted HTTP. The package affects version 1.0.0 and is designed to evade static analysis by obfuscating its payload and commands.

Affected software

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

Technical Analysis

The typescriptt-core package is a malicious typosquat targeting npm users who mistakenly install it instead of the legitimate TypeScript package. It exports an empty module but executes a postinstall script that XOR-decodes a URL and PowerShell launcher using a fixed key. On Windows systems, it downloads a file named main.exe from a GitHub repository unrelated to TypeScript and executes it detached in the temporary directory. On WSL, it uses a decoded bridge command to invoke PowerShell on the Windows host to perform the same download and execution. Before dropping the payload, it sends a JSON payload containing the host platform label to a hardcoded IP address via HTTP as an install beacon. The obfuscation of URLs and commands is intended to bypass static code reviews and detection.

Potential Impact

This malicious package can lead to arbitrary code execution on affected Windows hosts by downloading and running an unknown executable from an attacker-controlled GitHub repository. The beaconing behavior leaks host platform information to a remote server. The overall impact includes potential system compromise, data exfiltration, or further malware deployment. There is no indication of active exploitation in the wild at this time.

Mitigation Recommendations

No official patch or remediation is available since this is a malicious typosquat package rather than a vulnerability in legitimate software. Users should avoid installing packages with suspicious or misspelled names. Use trusted sources and verify package authenticity before installation. Remove the typescriptt-core package if installed. Monitor for any unexpected network connections to the indicated IP or GitHub URLs. Consider blocking the malicious domains and IPs at the network level.

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

Threat ID: 6a85b4cbacd9273b49252ece

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

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

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