Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of claude-code-session-manager

[email protected]

clean   confidence 75%   action allow   analyzed 2026-09-19 23:41 UTC by dsv41-flash in 21 tool calls, with lab detonation

Summary

[email protected] is a ~130 MB Electron app; its postinstall (scripts/postinstall.cjs) only spawnSync's electron-rebuild for node-pty, and its bin (bin/cli.cjs) just spawns the bundled Electron binary. The prescreen's 351 agent_config_tamper / credential / "reverse_shell" hits are regex noise from a GUI whose job IS reading and writing ~/.claude: hooks-config editors, shell guard snippets shipped as templates, and large minified bundles. Real capabilities worth knowing: it reads ~/.claude/.credentials.json (macOS Keychain item "Claude Code-credentials") to refresh the OAuth token at https://claude.ai/api/auth/oauth/token and query https://api.anthropic.com/api/oauth/usage, and it sends opt-out-by-default product telemetry to https://bilko.run (installId UUID, machine digest; secrets/text fields redacted). On first boot it idempotently registers its own MCP server and bundled dev plugin via the official `claude` CLI at user scope. A note: andy_detonate returned a tool error twice, so the lab run is unavailable; the postinstall hook was audited by reading it instead.

Intent

A legitimate Electron desktop cockpit for the Claude Code CLI (multi-tab terminal, scheduler, config editor, voice dictation). It reads Claude Code's own credential store and writes Claude/MCP configuration because managing those files is its declared purpose; nothing concealed or exfiltrated was found.

credential_access network_egress agent_config_tamper code_execution reconnaissance

Findings

postinstall only rebuilds node-pty info scripts/postinstall.cjs:21-34
scripts/postinstall.cjs:21-34 resolves node_modules/.bin/electron-rebuild and spawnSync's `-f -w node-pty`; on failure it prints manual instructions and exits 0. No downloads, no credential access, no decoded payload. Minor edge: if the local binary is absent it falls back to `npx electron-rebuild` (line 25), which would fetch a deprecated package from the registry.
Reads Claude Code OAuth credentials (declared feature) medium src/main/lib/credentials.cjs:11-63
src/main/lib/credentials.cjs:11 reads ~/.claude/.credentials.json, and on macOS reads/writes the login Keychain item 'Claude Code-credentials' via `security find-generic-password`. The token is used only against claude.ai/api/auth/oauth/token and api.anthropic.com; no third-party host receives it.
Default-on telemetry to the author's own host medium src/main/lib/telemetrySettings.cjs:35-49, src/main/lib/telemetryClient.cjs:1-62
src/main/lib/telemetrySettings.cjs:35-49 defaults enabled=true with endpoint https://bilko.run and a random installId; kill switch is SM_TELEMETRY=0, endpoint override SM_TELEMETRY_ENDPOINT. Payloads go to POST /api/telemetry/{event,log,error,install} and are redacted by REDACT_KEY before sending (src/main/lib/telemetryClient.cjs:62), with transcripts/messages/tokens never shipped.
First-boot self-registration in user-scope Claude config low src/main/index.cjs:1373-1388, src/main/seedSchedulerMcp.cjs:76-175
src/main/index.cjs:1373,1388 call seedDevPlugin and seedSchedulerMcp on boot; seedSchedulerMcp.cjs:76-93 reads ~/.claude.json mcpServers and adds its own `session-manager-scheduler` entry (repairing a stale path at line 164). This is the app's stated function and is done through the official `claude mcp add` CLI with markers/logging — not a covert persistence mechanism.
Shell snippets that trip regexes are guard/template text, not payloads info dist/assets/Library-DzKA09Iy.js, src/main/templates/PRD_AUTHORING.md
dist/assets/Library-DzKA09Iy.js and src/main/templates/PRD_AUTHORING.md contain the strings 'rm -rf /', 'curl|sh', 'dd if=…of=/dev/' and curl-to-bilko.run smoke tests — these are hook templates the GUI previews and documentation examples, not executed at install/require time. No base64-decoded blob, eval, or download-and-execute chain exists anywhere in src/ (only src/main/files.cjs:329 decodes base64 for its own file-save IPC).
Prompt-injection prescreen hits are ordinary dev-skill wording info plugins/session-manager-dev/skills/**/SKILL.md
The 37 'conceal_from_user' hits in plugins/session-manager-dev/skills/* are phrases like 'skip the hero image silently' or 'never a silent omission' in documentation for the package's own development workflow. No text addresses an AI auditor, claims the package is safe, or instructs an agent to hide actions from its operator.
Lab detonation unavailable info scripts/postinstall.cjs
andy_detonate returned 'value is not lossless JSON' on two attempts, so no install-hook execution trace could be obtained. The postinstall hook was reviewed statically; residual risk remains for the 130 MB minified dist/ bundles that were not fully read.

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