MAL-2026-14149 Malicious code in typescirpt-core (npm)
Malicious package
Published
MAL-2026-14149 is a malicious package: typescirpt-core (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-14149/ (Markdown: https://insights.sbomify.com/MAL-2026-14149/index.md)
- Package
- typescirpt-core
- Registry
- npm
What is MAL-2026-14149?
MAL-2026-14149 is a malicious package in typescirpt-core, published on 18 Aug 2026.
Official description
Package name 'typescirpt-core' typosquats 'typescript'. scripts/postinstall.js runs automatically on npm install and posts a JSON platform beacon to a hardcoded bare-IP endpoint at http://193.70.34.101:20099/vote (host constructed by array-join to evade static matching). It then XOR-decodes (key 'stf2026') an embedded integer array into a remote URL and downloads a Windows executable to %TEMP%/main.exe, spawning it detached with stdio ignored and window hidden. A separate WSL-detection branch XOR-decodes a PowerShell bridge launcher and pre/post script fragments and passes the reconstructed command to child_process.exec, so a Linux WSL install pivots execution back to the host Windows side. The URL, launcher command, and script fragments are all stored as XOR-encoded byte arrays and reconstructed at runtime immediately before exec/https.get, hiding the download destination and command line from static inspection.
What should I do about MAL-2026-14149?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.