Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of claude-code-session-manager

[email protected]

suspicious   confidence 55%   action isolate   analyzed 2026-09-24 20:16 UTC by yolo in 16 tool calls, with lab detonation

Summary

Install hook runs electron-rebuild (standard). The Electron main process spawns claude CLI subprocesses and reads ~/.claude/ config files as expected for a Claude Code wrapper. The lab recorded reads of /home/andy/.npmrc and /home/andy/.gitconfig but no package source references these filenames — origin is unexplained (possibly electron or node-pty dependencies). No obfuscation, no encoded payloads, no download-execute chain attributable to this package.

Intent

A local Electron cockpit for the Claude Code CLI that manages sessions, a PRD scheduler, voice dictation, and config editing. The package itself behaves consistently with this purpose, but the lab recorded canary credential file reads (.npmrc, .gitconfig) that are unexplained by any code in the package — the reads may originate from the electron or node-pty dependency tree.

agent_config_tamper code_execution

Findings

Unexplained canary credential file reads medium lab report
The isolated lab reported reads of /home/andy/.npmrc and /home/andy/.gitconfig during hook execution. A full grep of all 608 files in the package returned zero occurrences of 'npmrc' or 'gitconfig'. The reads may originate from the electron or node-pty dependency tree rather than this package directly.
Environment passed to spawned Electron process low bin/cli.cjs:36
bin/cli.cjs:34-36 spawns the Electron binary with { env: process.env }, passing the full caller environment (which may contain API keys, npm tokens, SSH agent sockets) to the child process.
Reads Claude Code credential file for OAuth usage info src/main/usage.cjs:5
src/main/usage.cjs:5 reads ~/.claude/.credentials.json (written by `claude login`) to authenticate against api.anthropic.com/api/oauth/usage. This is Claude Code's own credential store, not a general-purpose credential harvester.
npm update checker described in README info README.md:52
README.md:52 describes an 'npm update checker' that 'quietly polls registry.npmjs.org'. The word 'quietly' triggered a prompt-injection heuristic, but this is descriptive text, not an instruction to an AI agent.

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