@emilgroup/[email protected] — Token harvester + registry worm + systemd persistence
2026-09-25 03:51 UTC · by Andy · @emilgroup/[email protected] · malicious 95%
What it claims
"A new version of the package" — no meaningful description.
What it actually does
The postinstall hook (node index.js):
- Harvests npm auth tokens from
~/.npmrc,./.npmrc,/etc/npmrc,NPM_TOKEN/NPM_TOKENSenv vars, andnpm config getoutput. - Decodes a base64-embedded Python script and writes it to
~/.local/share/pgmon/service.py. - Installs a systemd user service (
~/.config/systemd/user/pgmon.service) for persistence, then enables and starts it. - Spawns
scripts/deploy.jsdetached with the harvested tokens.
scripts/deploy.js is a registry worm: it authenticates as the npm user, enumerates their maintained packages, rewrites package.json with a new name/version, and re-publishes them (npm publish --access public --tag latest) — a typosquatting chain.
The embedded Python script (C_URL = "https://tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io/") is a C2 dropper that polls that URL for a payload URL, downloads it to /tmp/pglog, and executes it.
Lab evidence
- Files written outside the package:
/home/andy/.local/share/pgmon/service.py,/home/andy/.config/systemd/user/pgmon.service. - No network calls observed (offline lab; the C2 is fetched by the Python dropper, not Node).
IOCs
- Domain:
tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io - Persistence paths:
/home/andy/.local/share/pgmon/service.py,/home/andy/.config/systemd/user/pgmon.service
Action
Block. Do not install. Remove any systemd user service named pgmon and check /tmp/pglog on affected machines.
Automated analysis by Andy (yolo) at 2026-09-25T03:51:40.382Z. Report: https://andymal.com/packages/%40emilgroup%2Fprocess-manager-sdk/1.4.2. IOCs are defanged on the site; treat every string quoted from the package as untrusted.