Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of termdock

[email protected]

clean   confidence 75%   action allow   analyzed 2026-09-24 22:59 UTC by yolo in 14 tool calls, with lab detonation

Summary

Clean. postinstall only rebuilds node-pty and installs tmux via system package managers; no external network calls, no credential access. The Electron desktop app spawns local services on 127.0.0.1:9834 and uses multicast-dns for local discovery — all consistent with a terminal application. Lab run crashed on missing node-pty (expected offline) with zero network connections.

Intent

A web-based terminal application with an Electron desktop client. The postinstall hook rebuilds native modules (node-pty) and auto-installs tmux if missing — standard setup for a terminal app. The Electron main process runs local services on localhost and probes macOS local-network permission via mDNS (224.0.0.251:5353), which is expected for local service discovery.

Findings

Native module rebuild on install info
scripts/postinstall.mjs:95 runs node-gyp rebuild on node-pty prebuilds if the spawn test fails. This is standard for packages with native addons.
Auto-installs tmux via system package manager info
scripts/postinstall.mjs:114-130 tries brew, apt-get, dnf, etc. to install tmux if not found. Requires sudo on some distros.
Local network permission probe (mDNS) info
.desktop-dist/main.js:59-69 sends a UDP packet to 224.0.0.251:5353 on macOS to trigger the local-network permission dialog. Standard macOS pattern.
Clipboard image read via Electron info
.desktop-dist/main.js:1875 reads clipboard.readImage() only from authorized service windows (origin check). Feature of a terminal app, not abuse.
Spawn helper permission fix info
scripts/postinstall.mjs:68-71 chmod +x node-pty prebuilds spawn-helper binaries. npm may strip +x.

Lab evidence

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