Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of local-operator-ui

[email protected]

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

Summary

Install hook (bin/postinstall.js) fetches the Electron runtime and restores the setuid bit on chrome-sandbox — both standard for Electron Linux installs. Runtime uses PostHog for analytics. CREDENTIAL_NAME_PATTERNS on out/main/index.js:14836 is a download-blocklist (security feature), not a theft list. Lab: no network, no canary reads, clean exit 0.

Intent

A desktop Electron app for running Python code locally through a chat interface. The install hook downloads the Electron runtime and restores the chrome-sandbox setuid bit on Linux (a known Electron requirement). Telemetry goes to PostHog (us.i.posthog.com).

Findings

Electron runtime download at install time info bin/postinstall.js:54
bin/postinstall.js calls ensureElectronDist() which downloads the Electron binary from GitHub releases — standard for Electron apps since Electron 42 removed the fetch-from-npm postinstall.
chrome-sandbox setuid restoration on Linux info bin/postinstall.js:83-90
bin/postinstall.js restores the root:root 4755 mode on node_modules/electron/dist/chrome-sandbox to fix the npm strip-setuid bug (Electron issue #91). Uses O_NOFOLLOW + O_NONBLOCK to prevent symlink/FIFO attacks.
PostHog analytics telemetry info out/main/index.js:28159
out/main/index.js:28159 creates a PostHog client sending to us.i.posthog.com with the public project key phc_u6n9doAtCUbpFbydIqzupCxqCaGUO4SiHMEU5ESvQRL. This is a known analytics service.
Credential download blocklist (not theft) info out/main/index.js:14836
CREDENTIAL_NAME_PATTERNS on out/main/index.js:14836 is used by DownloadArmer to block Chromium downloads of files matching credential name patterns (id_rsa, .env, .npmrc, etc.). This is a security feature to prevent accidental credential exfiltration via download.

Lab evidence

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