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

Summary

Install hook (postinstall) downloads the pinned Electron runtime ([email protected]) and, on Linux, restores the setuid bit on chrome-sandbox — both documented, expected duties for this Electron app. The lab run produced no network connections, no files written outside the package, and no canary credential reads. The CREDENTIAL_NAME_PATTERNS array in out/main/index.js is a block-list used by the DownloadArmer to refuse downloads of SSH keys, .npmrc, .env files, etc. — a security feature, not a theft vector.

Intent

Local Operator is a desktop GUI for AI agent assistants that run Python code locally through an Electron app.

Findings

Electron runtime fetch + chrome-sandbox setuid repair info bin/postinstall.js:54,bin/postinstall.js:83-90
postinstall calls ensureElectronDist() to download the pinned Electron runtime, and repairSandboxHelper() to chmod 4755 node_modules/electron/dist/chrome-sandbox on Linux only (off on macOS/Windows unless LOCAL_OPERATOR_UI_FORCE_POSTINSTALL=1).
Credential-file block-list in DownloadArmer (security feature) info out/main/index.js:14781,out/main/index.js:14876
CREDENTIAL_NAME_PATTERNS is compiled into a set of globs and used by DownloadArmer to DENY downloads of files matching id_rsa*, .npmrc, .env, credentials.json, etc.
PostHog analytics client (public key) info out/main/index.js:28104-28105
PostHog analytics client initialised with a public project key (phc_…) to us.i.posthog.com; no capture/identify calls observed at startup in this snapshot.

Lab evidence

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