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

0
High
Published: 08/18/2026 (08/18/2026, 23:19:56 UTC)
Source: GCVE Database
Product: typescipt-core

Description

The npm package 'typescipt-core' version 1.0.0 contains malicious code that executes during installation. It uses obfuscated scripts to download and run a Windows executable and a PowerShell bridge, sending host profile data to a hardcoded IP address. This behavior enables attacker-controlled code execution on the installer's system.

Affected software

npmghsa
typescipt-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:57:11 UTC

Technical Analysis

The 'typescipt-core' npm package (version 1.0.0) is a typosquatting malicious package targeting users who mistakenly install it instead of 'typescript'. Its postinstall script XOR-decodes a download URL and a PowerShell launcher using a static key. On Windows, it downloads an executable to the temporary directory and runs it detached. On Windows Subsystem for Linux (WSL), it executes a PowerShell bridge script. Before the second stage download, it sends a JSON host profile containing Windows or WSL labels derived from system files to a hardcoded IP address (193.70.34.101) over plain HTTP. The network destinations and commands are stored as XOR-encoded byte arrays and reconstructed at runtime. This install-time dropper enables remote attacker code execution on the host.

Potential Impact

Successful installation of this package results in arbitrary code execution on the victim's machine, potentially allowing attackers to run malicious payloads, gather system information, and maintain persistence. The exfiltration of host profile data to a remote server may facilitate targeted follow-up attacks or reconnaissance.

Mitigation Recommendations

No official patch or remediation is available as this is a malicious typosquatting package. Users should avoid installing 'typescipt-core' and verify package names carefully before installation. Use trusted sources and package registries with verified publishers. Consider scanning installed packages for known malicious code and remove any instances of this package immediately.

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

Threat ID: 6a85b4cbacd9273b49252eea

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

Last enriched: 08/19/2026, 14:57:11 UTC

Last updated: 08/19/2026, 16:48:37 UTC

Views: 5

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