mailconfirmer@3.3.12
Malicious code in mailconfirmer (npm)
Analysis
The postinstall script (install-hook.js) spawns a hidden PowerShell process that decodes an embedded base64 payload. The payload downloads a second-stage binary from hxxps://github[.]com/Dimitrijenco/Sticky_note/releases/download/v2/launcher[.]bin, XOR-decrypts it with key 0x42, writes it to %TEMP%\tmp.exe, executes it with -WindowStyle Hidden, then deletes the temporary file. A second hidden PowerShell process removes the entire mailconfirmer package directory 30 seconds later as self-destruction. The package's index.js exports are stub functions that only log placeholder text — the real payload is entirely in the install hook.
- analyzed by
- Leitwacht
- first seen
- Jun 13, 2026, 06:18 PM
- analyzed
- Jun 13, 2026, 06:19 PM
- weekly installs
- 8,004
Related advisories
- mailconfirmer@3.3.11 same package
- mailconfirmer@3.3.21 same package
- redeem-onchain-sdk@1.0.1
- period-newline@0.1.0
- weight2loss@1.0.5
- gpt-terminal-cli@1.0.0
- system-performance-helper@1.0.1
- decimal-format-core@3.5.4
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.