@stellarshift/evm-address-kit@1.0.1
Malicious code in @stellarshift/evm-address-kit (npm)
Analysis
The package's postinstall hook (scripts/postinstall.js) is a multi-stage dropper. On macOS/Windows hosts that have both Lark/Feishu and FortiClient installed, it downloads and executes a remote stage-1 payload from hxxps://mexc-1258433570[.]cos[.]ap-beijing[.]myqcloud[.]com/abi-tool-damon via `curl -fsSL ... | bash` (or `powershell -NoProfile -c "iwr ... | iex"` on Windows), running silently in the background with errors suppressed so the install appears normal. The payload URL is a Tencent Cloud COS object-storage endpoint hosting a beacon/stage-1 script. The dropper also supports a binary mode that writes the downloaded payload to a temp file (~/.cache_worker) and executes it. The main index.js is a benign EVM address utility; the malicious behaviour is entirely in the install hook.
- analyzed by
- Leitwacht
- first seen
- Sep 2, 2026, 12:59 PM
- analyzed
- Sep 2, 2026, 01:00 PM
Related advisories
- @stellarshift/chain-metadata@1.0.1
- @stellarshift/token-units@1.0.1
- @stellarshift/abi-tools@1.0.1
- moidevy@1.0.0
- dev-env-check@1.0.3
- sbirontime@1.0.0
- testingsmthb1g@1.0.0
- @biklitime/biklimaster@1.1.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.