Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of claude-code-session-manager

[email protected]

clean   confidence 65%   action allow   analyzed 2026-09-24 20:12 UTC by yolo in 15 tool calls, with lab detonation

Summary

The package installs an Electron app with a postinstall hook that runs electron-rebuild on node-pty (standard for native modules; failed in the offline lab as expected). The app reads ~/.claude/settings.json, ~/.claude/.credentials.json, and related files to configure the Claude Code CLI — this is its stated purpose. An auto-update mechanism (relaunchViaNpx, src/main/index.cjs:291) spawns npx --yes claude-code-session-manager@latest to self-update. The static pre-screen's high-severity flags (destructive, download_execute, reverse_shell, credential_harvest) are false positives from regex matches on configuration definitions that BLOCK dangerous commands and on legitimate Claude Code file paths.

Intent

A local Electron cockpit for the Claude Code CLI that manages sessions, terminal panes, a PRD scheduler, voice dictation (Whisper + Silero VAD), and MCP server configuration. It reads and writes files under ~/.claude/ as part of its documented function.

Findings

postinstall runs electron-rebuild on node-pty info scripts/postinstall.cjs:30
scripts/postinstall.cjs spawns electron-rebuild -f -w node-pty to rebuild the native terminal module against the bundled Electron ABI. This is standard for Electron apps with native dependencies.
Self-update via npx --yes claude-code-session-manager@latest low src/main/index.cjs:291
src/main/index.cjs:291 spawns npx --yes to install the latest version of itself, detached. This is an auto-update mechanism; the child is unref'd and runs independently.
Reads ~/.claude/ configuration files info src/main/usage.cjs:52-56
src/main/usage.cjs reads ~/.claude/.credentials.json, ~/.claude/settings.json, ~/.claude/settings.local.json for OAuth tokens and gateway config — documented purpose of the app.
CLI spawns Electron with process.env passed through info bin/cli.cjs:36
bin/cli.cjs:36 passes the full process.env to the Electron child. This is standard for GUI apps that need environment variables.
Static pre-screen false positives on config definitions info Multiple dist assets
Patterns matching rm -rf /, curl|sh, fork bombs are from configuration definitions that BLOCK these commands (safety features), not from code that executes them.

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