Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of claude-code-session-manager

[email protected]

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

Summary

Install hook runs electron-rebuild on node-pty — expected for an Electron app with a native terminal module. Entry file is a standard Electron main process; network calls go only to api.anthropic.com and registry.npmjs.org. No credential theft, no unexpected egress, no download-execute. The lab read /home/andy/.npmrc and /home/andy/.gitconfig but those were from the npm registry resolver inside electron-rebuild, not package code (grep confirmed 0 matches for .npmrc/.gitconfig in the package).

Intent

Local Electron desktop app wrapping the Claude Code CLI with a multi-tab terminal, scheduler, voice dictation (local Whisper + Silero VAD), and a full configuration surface for .claude/ settings. The postinstall hook runs electron-rebuild on node-pty (standard for Electron + native-module packages). Network egress is only to api.anthropic.com (Claude API, usage billing) and registry.npmjs.org (version-check toast), as documented in the README privacy section.

code_execution agent_config_tamper reconnaissance

Findings

Standard electron-rebuild on node-pty info scripts/postinstall.cjs:1-53
scripts/postinstall.cjs spawns electron-rebuild (local first, npx fallback) to rebuild node-pty against the bundled Electron ABI. Exits 0 unconditionally.
Network egress to api.anthropic.com info src/main/lib/summarize.cjs:63
src/main/lib/summarize.cjs:63 sends API requests to https://api.anthropic.com/v1/messages; src/main/usage.cjs:27 polls https://api.anthropic.com/api/oauth/usage for billing. Documented in README privacy section.
Network egress to registry.npmjs.org info README.md:52
README.md:52 — quiet npm version-check toast. CSP restricts connect-src to api.anthropic.com + registry.npmjs.org + schemastore.org.
Canary credential read from npm resolver (noise) info lab report
Lab read /home/andy/.npmrc and /home/andy/.gitconfig — these were accessed by the npm registry resolver inside the electron-rebuild subprocess, not by package code. Grep found 0 .npmrc/.gitconfig references in the package.
anthropic.com.attacker.example is a comment, not a host info src/main/usage.cjs:99
src/main/usage.cjs:99 — a comment explaining that the domain-checking regex correctly treats anthropic.com.attacker.example as NOT an anthropic subdomain. Defensive code, not an IOC.
Prompt-injection hints are false positives info plugins/session-manager-dev/skills/blog-for-project-feature/6-compose/SKILL.md:33
SKILL.md files contain phrases like 'skip the hero image silently' — describing optional blog-content composition behavior, not instructions to hide AI actions from the user.

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