MAL-2026-14143 Malicious code in tyepescript-cli (npm)
Malicious package
Published
MAL-2026-14143 is a malicious package: tyepescript-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-14143/ (Markdown: https://insights.sbomify.com/MAL-2026-14143/index.md)
- Package
- tyepescript-cli
- Registry
- npm
What is MAL-2026-14143?
MAL-2026-14143 is a malicious package in tyepescript-cli, published on 18 Aug 2026.
Official description
tyepescript-cli is a typosquat of
typescript. Its scripts/postinstall.js XOR-decodes (key stf2026) a set of obfuscated byte arrays that resolve to an attacker-controlled URL, a PowerShell bridge command, and script fragments. On Windows, the postinstall downloads main.exe from github.com/bebrazi/qPbM50V1AKG0rVlH/releases/download/null/main.exe to %TEMP%\main.exe and spawns it detached. Under WSL, it decodes a powershell.exe bridge command and execs it via child_process.exec with windowsHide: true to fetch and run the same binary on the Windows host from the Linux install context. Before the drop, the script POSTs a JSON body with a host label to a hardcoded numeric IP http://193.70.34.101:20099/vote (host built by joining the array ['193','70','34','101'] to hide the literal) as an install-time beacon. The mutable releases/download/null/ path on an anonymous personal GitHub account (bebrazi) is unrelated to any legitimate typescript publisher, and the XOR obfuscation of URLs and commands has no benign purpose in an npm install script.What should I do about MAL-2026-14143?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.