{"id":"MAL-2026-14144","revision":"e214b0923f7c4ab3909afff54eb55b3e","records":[{"revision":"e214b0923f7c4ab3909afff54eb55b3e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14144","aliases":[],"title":"Malicious code in tyepescript-core (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f2ba91f9b227b017ddbfa6a908a0a8f0263292a0af2c11aeef0ccd24b2894862)\nPackage name 'tyepescript-core' is a typosquat of 'typescript'; the module itself exports an empty stub. scripts/postinstall.js XOR-decodes byte arrays (key 'stf2026') to reconstruct a download URL and shell command at runtime, fetches an opaque Windows binary to %TEMP%\\main.exe, and spawns it detached with stdio ignored. On WSL/virtualized-Linux hosts, a second XOR-decoded 'bridge' command is passed to child_process.exec to reach the Windows host. The same postinstall also POSTs a JSON body containing the resolved platform label to http://193.70.34.101:20099/vote, with the bare-IP host assembled at runtime from a string array to hide the literal. Result: arbitrary attacker-controlled code execution on the installer's machine at 'npm install' time, plus an install beacon to attacker infrastructure.\n","state":0,"publishedAt":"2026-08-18T23:20:15+00:00","modifiedAt":"2026-08-18T23:45:13.0267191+00:00","affected":[{"ecosystem":"npm","name":"tyepescript-core","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/tyepescript-core/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14144","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14144","identifiers":["MAL-2026-14144"]},"retained":false,"historicalAffected":[]}],"coverage":[]}