{"id":"MAL-2026-14156","revision":"f73eb7a500fd495ca366edf0f1960721","records":[{"revision":"f73eb7a500fd495ca366edf0f1960721","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14156","aliases":[],"title":"Malicious code in typscript-cli (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1425e6f0bb2305eeddecaab5403e09ead0e8f60b9b1f817581a343cb5a3dd062)\ntypscript-cli is a typosquat of 'typescript' (index.js exports an empty object; no library functionality). Its scripts/postinstall.js is the only functional code and executes on npm install. It XOR-decodes (key 'stf2026') four embedded numeric arrays to reconstruct a download URL and a PowerShell 'bridge' command, downloads a Windows executable to %TEMP%\\main.exe, and spawns it detached with windowsHide:true. On WSL/Linux hosts it uses child_process.exec with the XOR-decoded PowerShell bridge command to drop and run the same payload on the Windows side. The same postinstall also POSTs a platform label to a hardcoded bare-IP endpoint 193.70.34.101:20099/vote over plain HTTP, with the host assembled from a split array ['193','70','34','101'].join('.') to evade literal-string scanning. There is no publisher-matched destination, no version pinning, and no integrity check on the fetched binary.\n","state":0,"publishedAt":"2026-08-18T23:21:27+00:00","modifiedAt":"2026-08-18T23:45:11.5284178+00:00","affected":[{"ecosystem":"npm","name":"typscript-cli","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/typscript-cli/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14156","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14156","identifiers":["MAL-2026-14156"]},"retained":false,"historicalAffected":[]}],"coverage":[]}