sync-external@1.6.0
Malicious code in sync-external (npm)
Analysis
sync-external is a combosquat of the legitimate use-sync-external-store React shim. The package ships an obfuscated payload in shim/index.js that activates when imported in a Node.js context. On execution it collects extensive host information: OS type, hostname, public IP (via api[.]ipify[.]org), geolocation (country/city), running processes, environment variables, admin-privilege status, and VM-detection indicators (VMware, VirtualBox, Parallels, QEMU). The collected data is encrypted with AES-256-CBC using a bundled shared.key and exfiltrated via HTTPS POST to testtesttestload[.]store/api/data with HMAC-SHA256 authentication. The payload also includes functions to execute arbitrary shell and PowerShell commands, and spawn detached child processes. The package description and README are copied unchanged from the real React use-sync-external-store project.
- analyzed by
- Leitwacht
- first seen
- Jun 21, 2026, 02:02 PM
- analyzed
- Jun 21, 2026, 02:03 PM
Related advisories
- buffer-wrap-67d7@1.0.0
- wormgpt-cli@1.0.1
- streak-metrics-core@1.0.0
- @cryptosrvc/shift-sdk-v4@1.0.77
- @shiftmarkets/shift-exchange-root@3.9.9
- system-performance-helper@1.0.1
- n8n-nodes-port-scanner@1.0.0
- react-campaign-optimizer@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.