Malicious code in typescrip-cli (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14150
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (44399cd197dfa6f24adf7c96a380d2e0c95a4123d8c14932ceb0a85e32ebc9b9) Package name 'typescrip-cli' typosquats 'typescript-cli'; index.js exports an empty object and the package has no library functionality. scripts/postinstall.js hides its network destinations and command lines inside four numeric byte arrays that are XOR-decoded at runtime with the key 'stf2026'. The decoded URL is https://github.com/bebra1/qPzM50V1AKG0rVlH/releases/download/null/main.exe (an unrelated personal GitHub account, mutable 'null' release tag). On Windows the script downloads that executable to %TEMP%\main.exe and spawns it detached. On WSL/virtualized Linux it decodes a PowerShell launcher and bridge script and passes the concatenated command to child_process.exec with windowsHide:true, running the same payload on the Windows host across the WSL boundary. In parallel, postinstall POSTs a JSON body identifying the host platform to a hardcoded bare-IP beacon at http://193.70.34.101:20099/vote, with the host string reassembled from a split array ['193','70','34','101'].join('.') to avoid literal-string detection.
- Source published
- 18 Aug 2026 23:20:40 UTC
- Source modified
- 18 Aug 2026 23:45:11 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.