raectjs@1.0.0
Malicious code in raectjs (npm)
Analysis
The postinstall hook (node scripts/postinstall.js) runs on install and beacons to a C2 server at 193[.]70[.]34[.]101:20099, POSTing a JSON body {"platform":"<os>"} to the /vote endpoint. It then XOR-decodes (key 'stf2026') a second-stage download URL, fetches a Windows executable main.exe from hxxps://github[.]com/beebraz1/qPzM50V1AKG0rVlH/releases/download/null/main[.]exe into the temp directory, and launches it as a detached background process (spawn with detached:true, stdio ignored, unref). On Windows/WSL hosts it instead runs a decoded bridge script via exec. The package name 'raectjs' is a typosquat of 'reactjs'. Network IOCs: 193[.]70[.]34[.]101:20099 /vote; second-stage binary hosted at the GitHub release URL above.
- analyzed by
- Leitwacht
- first seen
- Aug 16, 2026, 02:54 AM
- analyzed
- Aug 16, 2026, 03:00 AM
Related advisories
- typescirpt-cli@1.0.0
- typescipt-cli@1.0.0
- typescriptt-cli@1.0.0
- typesript-cli@1.0.0
- tyepescript-cli@1.0.0
- lodahsjs@1.0.0
- lodahs-cli@1.0.0
- commandor-core@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.