{"id":"MAL-2026-14143","revision":"d507974cb0d245718958710c3d4e5932","records":[{"revision":"d507974cb0d245718958710c3d4e5932","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14143","aliases":[],"title":"Malicious code in tyepescript-cli (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8a867a5fc578cb6dcb759370e837d1a4c7e24f6db63c0c0f781e2c24995905e6)\ntyepescript-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.\n","state":0,"publishedAt":"2026-08-18T23:19:37+00:00","modifiedAt":"2026-08-18T23:45:11.5114411+00:00","affected":[{"ecosystem":"npm","name":"tyepescript-cli","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/tyepescript-cli/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14143","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14143","identifiers":["MAL-2026-14143"]},"retained":false,"historicalAffected":[]}],"coverage":[]}