Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of claude-code-session-manager

[email protected]

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

Summary

Postinstall runs electron-rebuild on node-pty — standard for Electron apps with native modules. Require of the entry file fails offline (electron missing) but code inspection shows no hidden decoding or credential exfiltration. The canary reads of ~/.npmrc and ~/.gitconfig came from npm itself, not the package. Destructive-operation flags in dist assets are AI security guards (blocking rm -rf /, sudo). Prompt-injection flags are blog-formatting instructions, not concealment.

Intent

Local Electron cockpit for the Claude Code CLI with terminal, scheduler, voice, and MCP management. The install hook rebuilds node-pty against bundled Electron (standard for native-module Electron apps). Self-update spawns npx to install @latest (documented behavior, env-cleaned).

Findings

Install hook rebuilds node-pty info scripts/postinstall.cjs:14-52
scripts/postinstall.cjs spawns electron-rebuild best-effort; exits 0 regardless.
Self-update via npx info src/main/index.cjs:279-300
src/main/index.cjs:279-300 spawns npx --yes claude-code-session-manager@latest with cleanChildEnv().
Canary reads from npm, not package info lab report
Lab read /home/andy/.npmrc and /home/andy/.gitconfig — attributed to npm's own credential resolution, not package code.
AI security guards (false-positive destructive flag) info dist/assets/Library-BtxdyTLz.js:1-14
dist/assets/Library-BtxdyTLz.js contains bash-sandbox definitions blocking rm -rf /, sudo, curl|sh — these protect, not harm.
Blog-formatting instructions (false-positive prompt injection) info plugins/session-manager-dev/skills/blog-for-project-feature/6-compose/SKILL.md:33-34
plugins/session-manager-dev/skills/blog-for-project-feature/6-compose/SKILL.md instructs silent omission of optional hero images — content guidance, not action concealment.
Deceptive-gateway detection comment info src/main/usage.cjs:99
src/main/usage.cjs:99 references anthropic.com.attacker.example only in a comment explaining hostname parsing for enterprise gateways.

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