Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of 9remote

[email protected]

suspicious   confidence 55%   action isolate   analyzed 2026-09-23 18:26 UTC by yolo in 26 tool calls, with lab detonation

Summary

[email protected] installs a system tray helper and spawns a cloudflared tunnel to https://9remote.cc for remote terminal access. The CLI writes OS persistence (LaunchAgent, Windows autostart VBS, systemd user service) and passes the full process.env to every spawned shell session — potentially leaking API keys held by the installing agent. The lab run wrote ~/.9remote/runtime/package.json and attempted (failed) an npm install of systray2 to that directory; no canary credentials were read and no unexpected hosts were contacted.

Intent

A remote terminal access tool that creates a cloudflared tunnel to 9remote.cc for browser-based remote shell access. Ships heavily obfuscated (vite-plugin-javascript-obfuscator) with persistence mechanisms and environment variable passthrough to spawned shells.

persistence credential_access network_egress

Findings

Heavy obfuscation medium dist/cli.cjs
dist/cli.cjs (132 KB) is minified/obfuscated via vite-plugin-javascript-obfuscator (listed in devDependencies). 91 static hint hits for obfuscation.
Persistence mechanism medium dist/cli.cjs:19-74
Writes OS autostart entries: ~/Library/LaunchAgents/cc.9remote.agent.plist (macOS), %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\9Remote.vbs (Windows), ~/.config/systemd/user/cc.9remote.agent.service (Linux).
Environment passthrough to shells medium dist/ptyDaemon.cjs:10
dist/ptyDaemon.cjs spawns child processes with env={...process.env,...c||{}} — any API keys, tokens, or secrets in the host environment are inherited by remote terminal sessions.
Network egress to 9remote.cc low dist/cli.cjs:74
Server URL defaults to https://9remote.cc (overridable via NREMOTE_WORKER_URL). Tunnel sessions are established to this host.
Reads ~/.9remote/.env low dist/cli.cjs:11-12
Loads key=value pairs from ~/.9remote/.env into process.env if the file exists.
Install hook installs optional dependency info dist/install.cjs:3
postinstall runs npm install [email protected] --no-save into ~/.9remote/runtime/ (failed in offline lab due to self-signed cert).

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 8. Hooks: postinstall (exit 0), require (exit 0).

DNS names requested: registry[.]npmjs[.]org

Direct connections: socket 127[.]0[.]0[.]1:53

Canary credential files read: /home/andy/.gitconfig

Files written outside the package: /home/andy/.9remote/runtime/package.json