Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of termdock

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 15:50 UTC by yolo in 20 tool calls, with lab detonation

Summary

Clean. The install hook scripts postinstall.mjs and prepare-desktop-runtime.mjs only rebuild node-pty, install tmux via system package managers, and bundle a Node.js runtime — all expected for a terminal application. The Electron main process (.desktop-dist/main.js) passes ...process.env to spawned terminal child processes, which is necessary for a terminal; nothing is sent to a remote host. Lab run: 0 unexpected network connections.

Intent

A web-based terminal application with Electron desktop support. The postinstall hook ensures node-pty works and auto-installs tmux; the Electron main process passes the host environment to spawned terminal child processes (standard for terminal apps). No exfiltration or abuse detected.

Findings

Install hook rebuilds node-pty and installs tmux info scripts/postinstall.mjs:51-175
scripts/postinstall.mjs resolves node-pty, tests pty.spawn(), rebuilds with node-gyp if needed, then installs tmux via brew/apt-get/dnf/pacman if missing. Writes ~/.termdock/.boot-check-ok marker.
Electron passes host environment to terminal child processes info .desktop-dist/main.js:1084
.desktop-dist/main.js:1084 spreads ...process.env into the environment of spawned shell processes. This is required for a terminal application to work correctly and does not exfiltrate data to a remote server.
Local UDP multicast on macOS for network discovery info .desktop-dist/main.js:69
.desktop-dist/main.js:69 sends a UDP datagram to 224.0.0.251:5353 (mDNS) to trigger a local-network permission prompt on macOS. Standard Electron behavior.
Downloads Node.js from nodejs.org during desktop build info scripts/prepare-desktop-runtime.mjs:129
scripts/prepare-desktop-runtime.mjs:129,137 downloads the Node.js binary archive from https://nodejs.org/dist/… for bundling into the macOS desktop app. This is a build-time script, not run during npm install by end users.
Reads API key env vars for local quota tracking info dist/server/quota/tokenDiscovery.js:241
dist/server/quota/tokenDiscovery.js:241-259 reads GH_TOKEN, GEMINI_API_KEY, GROK_API_KEY from process.env locally to discover which API providers the user has configured, for rate-limiting. Keys are not sent anywhere.

Lab evidence

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