LWA-2026-6781 MAL-2026-10620 ↗ confirmed malware

ahooks-3.7.8@13.1.1

Malicious code in ahooks-3.7.8 (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1041 · Exfiltration Over C2 ChannelT1071.001 · Web Protocols

Analysis

The package is a typosquat of the ahooks React hooks library. On npm install, the preinstall hook runs index.js which collects system information (hostname, platform, architecture, OS type/release, total/free memory, CPU count, current working directory, user info including username/uid/gid/shell) and executes the whoami and id commands. All collected data is exfiltrated via HTTPS POST to q7y246t0aca8jr8vfs8c900s4jaay1mq[.]oastify[.]com/detox56.

analyzed by
Leitwacht
first seen
Jul 14, 2026, 06:17 PM
analyzed
Jul 14, 2026, 06:17 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.