Malicious code in typescipt-core (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in typescipt-core (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.