[email protected]
clean confidence 75% action allow analyzed 2026-09-24 21:55 UTC by yolo in 13 tool calls, with lab detonation
Summary
The postinstall hook (scripts/postinstall.mjs) only rebuilds node-pty prebuilds and attempts to install tmux via the system package manager. Network calls are limited to nodejs.org for bundling a Node runtime (prepare-desktop-runtime.mjs). No credential exfiltration, no reverse shell, no persistence beyond a local boot-marker file.
Intent
A web-based terminal application with Electron desktop support. The postinstall hook rebuilds node-pty native binaries and auto-installs tmux if missing — standard setup for a terminal app.
Findings
Native module rebuild info
scripts/postinstall.mjs:94-95postinstall deletes node-pty/prebuilds/* and runs node-gyp rebuild if the prebuilt binary is incompatible with the current OS/Node version.
Auto-install tmux info
scripts/postinstall.mjs:105-144Attempts to install tmux via brew/port/nix (macOS) or apt-get/dnf/yum/apk/pacman/zypper (Linux) if not found in PATH.
Bootstrap marker file info
scripts/postinstall.mjs:160-171Writes ~/.termdock/.boot-check-ok to skip redundant checks on CLI startup.
Downloads Node.js from nodejs.org info
scripts/prepare-desktop-runtime.mjs:129prepare-desktop-runtime.mjs downloads the matching Node.js archive from nodejs.org/dist/ to bundle a runtime for the desktop app.
Local UDP multicast (mDNS) info
.desktop-dist/main.js:69Sends a single UDP packet to 224.0.0.251:5353 on macOS for local service discovery. No external network.
Clipboard image read ( Electron native) info
.desktop-dist/main.js:1875Reads the system clipboard image via clipboard.readImage() through an IPC handler gated by window origin checks.
False positive: 'Download-and-execute chain' info
dist/client/assets/App-sqPi8Mto.js:126Regex matched React UI text 'rightSidebar.downloadFile' in component JSX — not a download-and-execute pattern.
False positive: 'File encryption over user data' info
dist/client/assets/App-sqPi8Mto.js:69Regex matched swiper gesture-lock event handler code — not file encryption.
Lab evidence
Install hooks ran in the isolated lab. Processes spawned: 6. Hooks: postinstall (exit 1), require (exit 0).