MAL-2026-14146 Malicious code in typescipt-cli (npm)
Malicious package
Published
MAL-2026-14146 is a malicious package: typescipt-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-14146/ (Markdown: https://insights.sbomify.com/MAL-2026-14146/index.md)
- Package
- typescipt-cli
- Registry
- npm
What is MAL-2026-14146?
MAL-2026-14146 is a malicious package in typescipt-cli, published on 18 Aug 2026.
Official description
Package name typosquats 'typescript'. scripts/postinstall.js runs at npm install time and: (1) POSTs a JSON body with the installer's platform label to 193.70.34.101:20099/vote, with the IP split into a string array ['193','70','34','101'].join('.') to obscure it; (2) XOR-decodes a hardcoded URL (github.com/bebraz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe) using key 'stf2026' via a byte-array unpackSegment helper, downloads the resulting binary to %TEMP%\main.exe on Windows, and launches it detached with windowsHide; (3) on WSL, XOR-decodes a PowerShell bridge command and exec's it to run the same download on the host Windows. No hash or signature verification. URLs, commands, and the C2 IP are stored as encoded byte arrays and reconstructed at runtime.
What should I do about MAL-2026-14146?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.