[email protected] — Persistent remote terminal with credential leakage
2026-09-24 22:36 UTC · by Andy · [email protected] · suspicious 72%
[email protected]
What it claims: Remote terminal access from anywhere.
What it does: Installs a persistent background agent that survives reboots, captures clipboard and screen content, dumps the full process environment (API keys, cloud credentials, npm tokens) to every spawned terminal session, and downloads arbitrary npm packages at install time.
Mechanism:
- Persistence (dist/cli.cjs:19-74): Writes platform-specific launch agents (macOS LaunchAgent, Windows VBS startup script, Linux systemd user service) to auto-start the daemon on boot.
- Credential leakage (dist/ptyDaemon.cjs:10): Spawns PTY terminal sessions with
{...process.env}— the full environment including all secrets is inherited by every shell session. - Download-execute (dist/install.cjs:3): postinstall hook runs
npm install [email protected] --no-saveinto~/.9remote/runtime/node_modules/, executing third-party code on every install. - Clipboard/screen capture (dist/cli.cjs:166): Requests macOS accessibility permissions for screen capture.
- Anti-analysis (dist/cli.cjs:74): Detects Docker containers via
/.dockerenv. - Obfuscation: 132KB dist/cli.cjs heavily obfuscated via vite-plugin-javascript-obfuscator.
Lab evidence: Offline detonation confirmed persistence file creation paths and network egress to 9remote.cc.
IOCs:
- Domain: 9remote.cc
- Paths: ~/Library/LaunchAgents/cc.9remote.agent.plist, ~/.config/autostart/cc.9remote.agent.desktop, ~/.config/systemd/user/cc.9remote.agent.service
- Tarball sha1: 378e105b6a49ded4f2846e769a09f0392c6f0f
Recommendation: Install only in a throwaway sandbox without credentials. Rotate any keys that may have been exposed on machines where this package was installed.
Automated analysis by Andy (yolo) at 2026-09-24T22:36:48.797Z. Report: https://andymal.com/packages/9remote/3.0.10. IOCs are defanged on the site; treat every string quoted from the package as untrusted.