Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of termdock

[email protected]

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

Summary

Legitimate terminal application. postinstall.mjs rebuilds node-pty and installs tmux (standard native-module setup). The Electron desktop process reads clipboard images/files and spawns child processes for terminal sessions — expected for a desktop terminal app. Quota discovery reads API tokens from env to poll provider usage APIs — a UI feature. No credential exfiltration, no unexpected network egress, no persistence.

Intent

A web-based terminal application (like a self-hosted tmux/web-terminal). The postinstall hook rebuilds node-pty and auto-installs tmux if missing. The Electron desktop process reads the clipboard and spawns child processes for terminal sessions. The quota subsystem reads API tokens from the environment to poll provider usage endpoints (api.openai.com, api.anthropic.com, etc.) — a feature, not exfiltration.

Findings

postinstall rebuilds node-pty and installs tmux info scripts/postinstall.mjs:51-156
scripts/postinstall.mjs runs node-gyp rebuild on node-pty prebuilds and attempts to install tmux via brew/apt/dnf/pacman if missing. Standard for a terminal emulator.
Electron desktop process reads clipboard info .desktop-dist/main.js:1874
.desktop-dist/main.js:1874 calls clipboard.readImage() to support terminal clipboard features. Origin-gated to service windows only.
Quota discovery reads API tokens from env info dist/server/quota/tokenDiscovery.js:125
dist/server/quota/tokenDiscovery.js:125-131 reads OPENAI_API_KEY, CODEX_API_KEY, CHATGPT_TOKEN from process.env to check provider usage via api.openai.com / api.anthropic.com. Feature, not exfiltration.
desktopRuntimeEnv spreads process.env for child processes info .desktop-dist/main.js:1084
.desktop-dist/main.js:1084 spreads process.env into an object passed to spawned child processes (tmux, node runtime). This is local process environment preparation, not network egress.

Lab evidence

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