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