{"id":"MAL-2026-14149","revision":"d50cf118d07d48b8b1c21275dc13a867","records":[{"revision":"d50cf118d07d48b8b1c21275dc13a867","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14149","aliases":[],"title":"Malicious code in typescirpt-core (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ef20a464d9f616eecfd6457a02895da80d1fabf558ef49de83dca18046551e90)\nPackage name 'typescirpt-core' typosquats 'typescript'. scripts/postinstall.js runs automatically on npm install and posts a JSON platform beacon to a hardcoded bare-IP endpoint at http://193.70.34.101:20099/vote (host constructed by array-join to evade static matching). It then XOR-decodes (key 'stf2026') an embedded integer array into a remote URL and downloads a Windows executable to %TEMP%/main.exe, spawning it detached with stdio ignored and window hidden. A separate WSL-detection branch XOR-decodes a PowerShell bridge launcher and pre/post script fragments and passes the reconstructed command to child_process.exec, so a Linux WSL install pivots execution back to the host Windows side. The URL, launcher command, and script fragments are all stored as XOR-encoded byte arrays and reconstructed at runtime immediately before exec/https.get, hiding the download destination and command line from static inspection.\n","state":0,"publishedAt":"2026-08-18T23:20:47+00:00","modifiedAt":"2026-08-18T23:45:13.0380514+00:00","affected":[{"ecosystem":"npm","name":"typescirpt-core","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/typescirpt-core/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14149","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14149","identifiers":["MAL-2026-14149"]},"retained":false,"historicalAffected":[]}],"coverage":[]}