Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of termdock

[email protected]

clean   confidence 75%   action allow   analyzed 2026-09-24 18:42 UTC by yolo in 11 tool calls, with lab detonation

Summary

Clean. The postinstall hook only rebuilds native modules (node-pty) and auto-installs tmux if missing. The Electron desktop app reads clipboard images and passes process.env to child processes — standard for a terminal emulator. No unexpected network egress or credential theft observed.

Intent

A web-based terminal application with desktop (Electron) support. Installs and configures native dependencies (node-pty, tmux) at postinstall. The Electron main process reads the clipboard and passes the full environment to spawned child processes — expected behavior for a terminal emulator.

Findings

Native module setup at postinstall info scripts/postinstall.mjs:52-171
scripts/postinstall.mjs resolves node-pty, tests spawn, and rebuilds with node-gyp if the prebuilt binary is incompatible. Also attempts to install tmux via brew/port/nix/apt/dnf/yum/apk/pacman/zypper. Writes a boot-check marker to ~/.termdock/.boot-check-ok.
Clipboard read via Electron API (expected for terminal) info .desktop-dist/main.js:1874
.desktop-dist/main.js:1874 calls clipboard.readImage() — standard Electron API used by terminal apps to support paste-from-clipboard.
Environment passed to child processes (expected for terminal) info .desktop-dist/main.js:1084
.desktop-dist/main.js:1084 spreads ...process.env into the environment of spawned shell processes. This is the core behavior of a terminal emulator, not credential theft.
Multicast DNS local discovery info .desktop-dist/main.js:69
.desktop-dist/main.js:69 sends a UDP datagram to 224.0.0.251:5353 — standard local-network service discovery (mDNS/DNS-SD).

Lab evidence

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