MAL-2026-14145 Malicious code in typecript-cli (npm)
Malicious package
Published
MAL-2026-14145 is a malicious package: typecript-cli (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-14145/ (Markdown: https://insights.sbomify.com/MAL-2026-14145/index.md)
- Package
- typecript-cli
- Registry
- npm
What is MAL-2026-14145?
MAL-2026-14145 is a malicious package in typecript-cli, published on 18 Aug 2026.
Official description
[email protected] is a typosquat of 'typescript' whose scripts/postinstall.js performs an install-time dropper attack. Payload strings are stored as integer arrays and XOR-decoded at runtime with key 'stf2026' via an unpackSegment() helper, hiding the download URL and PowerShell command from static scanners. On Windows hosts, the script downloads main.exe from https://github.com/bebraz1/<repo>/releases/download/<tag>/main.exe (a personal GitHub account unrelated to the package publisher) to %TEMP%/main.exe, then spawns it detached with no hash or signature verification. When running under WSL, the script uses an exec() bridge that invokes powershell.exe on the Windows host to escape the Linux install sandbox and execute the same payload. Postinstall also POSTs a JSON body with the resolved platform label to a hardcoded bare-IP endpoint at http://193.70.34.101:20099/vote, with the IP assembled from a split octet array (['193','70','34','101'].join('.')) to evade string matching, serving as an install beacon and host selector.
What should I do about MAL-2026-14145?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.