Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of claude-code-session-manager

[email protected]

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

Summary

Install hook runs electron-rebuild to rebuild node-pty against the bundled Electron ABI (standard for Electron+node-pty packages). Canary credential reads (.npmrc, .gitconfig) originated from npm/npx itself, not the package. No credential theft, no unexpected network egress, no obfuscated payload execution.

Intent

Local Electron cockpit for the Claude Code CLI — multi-tab terminal, scheduler, voice dictation, and live observability.

Findings

Install hook: electron-rebuild for node-pty info scripts/postinstall.cjs:14-31
scripts/postinstall.cjs spawns electron-rebuild (-f -w node-pty) to rebuild the native PTY module against the bundled Electron. Exits 0 even on failure. Standard pattern for Electron apps using node-pty.
Canary credential reads from npm, not package info scripts/postinstall.cjs:25
Lab read /home/andy/.npmrc and /home/andy/.gitconfig — these came from npm/npx resolving registry config during the electron-rebuild fallback, not from package code.
Electron spawn passes process.env info bin/cli.cjs:34-36
bin/cli.cjs:34-36 spawns Electron with env: process.env — normal for Electron apps; the child inherits the caller's environment.

Lab evidence

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

DNS names requested: registry[.]npmjs[.]org

Direct connections: socket 127[.]0[.]0[.]1:53

Canary credential files read: /home/andy/.npmrc, /home/andy/.gitconfig