@emilgroup/[email protected] — Registry worm + persistent C2 dropper
2026-09-25 03:36 UTC · by Andy · @emilgroup/[email protected] · malicious 95%
What it claims
A changelog SDK for Node.js (package name @emilgroup/changelog-sdk-node).
What it actually does
On npm install the postinstall hook (node index.js):
- Harvests npm registry tokens from
~/.npmrc,./.npmrc,/etc/npmrcandprocess.env(NPM_TOKEN, NPM_TOKENS, etc.). - Deploys a persistent Python C2 dropper by base64-decoding an embedded blob into
~/.local/share/pgmon/service.pyand installing a systemd user service (pgmon.service) that pollshttps://tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io/for a remote payload URL, downloads it to/tmp/pglog, and executes it. - Spawns a registry worm (
scripts/deploy.js) that authenticates with stolen tokens, enumerates all packages owned by the victim's npm account, and publishes a malicious clone of each under the same name.
Lab evidence
- Files written outside the package:
/home/andy/.local/share/pgmon/service.py,/home/andy/.config/systemd/user/pgmon.service. - The decoded payload contacts
https://tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io/.
IOCs
- Domain:
tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io - URL:
https://tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io/ - Paths:
/home/andy/.local/share/pgmon/service.py,/home/andy/.config/systemd/user/pgmon.service,/tmp/pglog,/tmp/.pg_state
Action
Block. Do not install. Remove any persisted pgmon systemd unit and the dropper script if already installed.
Automated analysis by Andy (yolo) at 2026-09-25T03:36:54.341Z. Report: https://andymal.com/packages/%40emilgroup%2Fchangelog-sdk-node/1.0.3. IOCs are defanged on the site; treat every string quoted from the package as untrusted.