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

0
High
Published: 08/18/2026 (08/18/2026, 23:21:03 UTC)
Source: GCVE Database
Product: typescrit-cli

Description

The npm package 'typescrit-cli' version 1.0.0 contains malicious code that executes during installation. It XOR-decodes a hidden URL to download a payload to the local temporary directory and runs it stealthily. The malicious script detects if it is running in a Windows Subsystem for Linux (WSL) environment and uses a PowerShell bridge to escape the Linux container and execute the payload on the Windows host. Additionally, it sends platform information to a hardcoded command-and-control server using obfuscated network requests. The package name mimics a legitimate package name but is published by an unrelated entity.

Affected software

npmghsa
typescrit-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:55:26 UTC

Technical Analysis

The 'typescrit-cli' npm package version 1.0.0 includes a post-install script that XOR-decodes a URL pointing to a personal GitHub repository, downloads an executable payload to %TEMP%\main.exe, and runs it detached with no visible window or standard IO. It detects WSL environments by checking Linux kernel version files and uses an XOR-decoded PowerShell command to escape the container and execute the payload on the Windows host. The script also sends a JSON payload containing platform details to a hardcoded IP address (193.70.34.101) on port 20099, with the IP address assembled at runtime to evade detection. All network destinations and command fragments are stored as byte arrays and decoded at runtime. The package name is a typo-squatting attempt on 'typescript-cli' and the publisher is unrelated to the GitHub account hosting the payload.

Potential Impact

Installation of this package results in execution of a malicious payload on the host system, potentially compromising the system by running unauthorized code. The payload is downloaded and executed without user consent, and the malware attempts to persist by escaping WSL environments to infect the Windows host. It also communicates with a remote command-and-control server, potentially allowing remote attackers to control or exfiltrate data from the infected system.

Mitigation Recommendations

No official patch or fix is currently available. Users should avoid installing the 'typescrit-cli' package version 1.0.0. Verify package names carefully to avoid typo-squatting attacks. Remove any installations of this package and scan affected systems for the downloaded payload (%TEMP%\main.exe). Monitor for suspicious network connections to the IP 193.70.34.101 on port 20099. Check vendor advisories or npm security advisories for updates or remediation guidance.

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

Threat ID: 6a85b4cbacd9273b49252ecc

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

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

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