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:03 UTC by yolo in 19 tool calls, with lab detonation

Summary

Clean. The install hook (bin/postinstall.js) only fetches the Electron runtime and repairs the chrome-sandbox setuid bit on Linux — both expected for this class of app. The lab run made no network connections, read no canary credentials, and wrote nothing outside the package.

Intent

Local Operator UI is a legitimate Electron desktop application for running AI agent assistants locally. It downloads the Electron runtime at install time and repairs the chrome-sandbox setuid bit on Linux — both standard for Electron apps. PostHog analytics uses a public project API key.

Findings

Electron runtime download at install time info bin/postinstall.js:54
bin/postinstall.js calls ensureElectronDist() which spawns node node_modules/electron/install.js to download the Electron binary if missing. This is standard for Electron apps since Electron 42 removed the built-in postinstall.
chrome-sandbox setuid repair on Linux info bin/postinstall.js:83-90
bin/postinstall.js repairs the setuid bit on Electron's chrome-sandbox helper (root:root 4755) because npm strips it. Uses O_NOFOLLOW to prevent symlink attacks. This is a documented Linux Electron requirement (issue #91).
PostHog analytics with public API key info out/main/index.js:5644-5653
out/main/index.js initializes posthog-node with a public project key (phc_u6n9doAtCUbpFbydIqzupCxqCaGUO4SiHMEU5ESvQRL) to us.i.posthog.com. This is PostHog's own published key, not a server secret.
Credential patterns prevent file downloads, not harvest info out/main/index.js:14781
CREDENTIAL_NAME_PATTERNS in out/main/index.js:14781 is used to block downloading files matching credential names (id_rsa*, *.pem, .npmrc, .env, etc.) — a security feature, not credential harvesting.

Lab evidence

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