# MAL-2026-14147: Malicious code in typescipt-core (npm)


- **Type:** Malicious package
- **Package:** `typescipt-core` (npm)
- **Published:** 18 Aug 2026

## What is MAL-2026-14147?

MAL-2026-14147 is a malicious package in typescipt-core, published on 18 Aug 2026. 

### Official description

Package name typosquats `typescript`. The postinstall script (scripts/postinstall.js) XOR-decodes a download URL and a PowerShell launcher using key 'stf2026', then on Windows fetches an executable to %TEMP%\main.exe and spawns it detached; on WSL it decodes and executes a PowerShell bridge via exec. Before fetching the second stage, it POSTs a host-profile JSON (including a Windows/WSL label derived from inspecting /proc/version and /proc/sys/kernel/osrelease) over plain HTTP to the hardcoded bare IP 193.70.34.101 on port 20099 at path /vote. The network destinations and shell command are stored as XOR-encoded byte arrays (ADDON_ENC, BRIDGE_LAUNCHER_ENC, BRIDGE_SCRIPT_PRE_ENC, BRIDGE_SCRIPT_POST_ENC) and reconstructed at runtime. Cover-story identifiers ('TELEMETRY', 'addon') mask an install-time dropper: `npm install typescipt-core` results in attacker-controlled code executing on the installer's host.

## What should I do about MAL-2026-14147?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-14147 is a malicious package: typescipt-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-14147/ (Markdown: https://insights.sbomify.com/MAL-2026-14147/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-14147

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-14147/
Summaries are generated and may contain mistakes; the official description above is the record.
