Our THOR Thunderstorm-based artifact scanning pipeline detected a malicious, newly published npm package: dotenv-async v1.0.0.
Presented as an environment-configuration toolkit, it contains a Windows downloader that executes at import time and is concealed in JPEG metadata.
Because environment-configuration packages are typically loaded during application startup, simply importing the package is enough to trigger the malicious chain.
The downloaded winhost.exe is an unsigned NSIS installer that deploys an obfuscated Electron infostealer. It targets browser passwords, cookies, and payment data, Discord and Telegram sessions, documents, and cryptocurrency wallets and seed phrases.
The malware establishes persistence as:
%LOCALAPPDATA%\Microsoft\Windows\0\svchost.exe
It also connects to a WebSocket gateway that provides an interactive CMD/PowerShell backdoor. Additional payloads are retrieved on demand:
/browser: encrypted shellcode injected into dllhost.exe to extract browser credentials and cookies (browser.h)
/update: a PowerShell loader that retrieves /jack, a native clipboard hijacker exporting StartClipjack, RunClipjackLoop, and StopClipjack.
Collected data is staged in %TEMP%, compressed, uploaded to a separate TryCloudflare endpoint, and then deleted.
We confirmed this multistage behavior in the analyzed artifacts. We are not attributing this activity to a specific actor, nor are we claiming that a legitimate maintainer was compromised.
Domains:
hardwood-studio-obviously-briefing[.]trycloudflare[.]com
manufacturers-arrested-acre-foods[.]trycloudflare[.]com
campus-petite-timothy-gulf[.]trycloudflare[.]com
SHA-256:
2a001e4ef9933701b3d93e1a7e1e7ef67d481fac5febc96f951beabe68022322 (winhost.exe)
196f6b820aaf094b8728a11699e4e91cea464623ab0c3acebdde3d1adab59fb6 (embedded Electron executable)
79121c5d9ddfafd532c30b9c20644b9a45fadadee9163eb2e5678e4efceb4312 (browser.h shellcode)
4a439412a37048f7c4e18c5a6b6763258e6358aa77693802dccc9d9d506ebc44 (ret.ps1 Clipjack PowerShell loader)