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

Summary

This package is a large Electron desktop application. Its only install hook (bin/postinstall.js) downloads the Electron runtime to node_modules/electron/dist and, on Linux, restores the chrome-sandbox setuid bit (issue #91). The lab run completed with exit 0, no network calls outside the Electron download sink, no canary reads, no files written outside the package. The static "ransomware"/"crypto_wallet" hints are false positives on Cytoscape.js and Mermaid.js library code.

Intent

A desktop Electron app for running Python code via local/cloud LLMs. The postinstall hook fetches the Electron runtime binary and restores the Linux chrome-sandbox setuid bit — both standard Electron packaging tasks.

Findings

Electron runtime fetch on install info bin/postinstall.js:54
bin/postinstall.js calls ensureElectronDist() which downloads the Electron binary from the official GitHub release URL. Idempotent and cache-backed.
Chrome-sandbox setuid repair on Linux info bin/postinstall.js:90
bin/postinstall.js calls repairSandboxHelper() to chown root:root + chmod 4755 on node_modules/electron/dist/chrome-sandbox. Uses O_NOFOLLOW to prevent symlink attacks.
PostHog analytics with public key info out/main/index.js:5006-5015
out/main/index.js initializes posthog-node with a public API key (phc_...) to us.i.posthog.com for feature flags and usage analytics.
False positive: cytoscape esm flagged as ransomware info out/renderer/assets/cytoscape.esm-DHvQc-Lm.js
Cytoscape.js is a graph visualization library. The regex matched 'encrypt' in a unrelated context (graph layout optimization). No file encryption observed.
False positive: mermaid flagged as crypto_wallet info out/renderer/assets/mermaid.core-C9ejm8if.js
Mermaid.js renders diagrams. No wallet addresses or crypto operations present.

Lab evidence

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