Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of termdock

[email protected]

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

Summary

The package installs a terminal server with an Electron desktop wrapper. The postinstall hook (scripts/postinstall.mjs) repairs node-pty prebuilds and auto-installs tmux via system package managers; it does not reach out to the network, read credentials, or execute downloaded code. Client bundles contain standard minified React/WebAssembly code. Flagged capabilities (process spawning, clipboard, local UDP multicast) are inherent to a terminal emulator and match the stated purpose.

Intent

A web-based terminal application. The postinstall hook repairs native modules (node-pty) and auto-installs tmux if missing — standard maintenance, not abuse.

Findings

Native-module repair at install time info
scripts/postinstall.mjs:51-101 re-builds node-pty if the prebuilt is incompatible; fixes spawn-helper execute permissions.
Auto-install tmux via system package manager info
scripts/postinstall.mjs:105-155 attempts brew/port/nix on macOS, apt-get/dnf/yum/apk/pacman/zypper on Linux — all local, no network to unknown hosts.
Electron clipboard read (desktop feature) info
.desktop-dist/main.js:1874 reads clipboard image via Electron API, scoped to trusted service windows.
Local UDP multicast for mDNS discovery info
.desktop-dist/main.js:59-69 sends a single UDP packet to 224.0.0.251:5353 on macOS — local network discovery, not egress.

Lab evidence

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