Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of instar

[email protected]

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

Summary

Install hooks are benign (better-sqlite3 native binary fixer, husky). Lab detonation produced no unexpected network connections or credential reads. The package extensively modifies .claude/settings.json (MCP servers, hooks, permissions), accesses process.env for API keys, executes commands, and maintains persistent processes — all expected for an AI agent framework but requiring caution in credential-bearing environments.

Intent

A complex autonomous-agent infrastructure framework for Claude Code that manages agent identity, sessions, messaging adapters (Telegram/Slack/WhatsApp), job scheduling, and mesh networking. Legitimate capabilities include modifying Claude Code hooks/settings, accessing environment variables for API keys, and network egress to external services — all consistent with its stated purpose.

agent_config_tamper credential_access network_egress code_execution persistence reconnaissance

Findings

Better-sqlite3 native binary fixer (postinstall) info scripts/fix-better-sqlite3.cjs:1-359
scripts/fix-better-sqlite3.cjs downloads prebuilds from GitHub or builds from source. Standard pattern for native modules.
Husky git hooks installer (prepare) info package.json:64
Standard git hooks setup. Hook failed in lab because husky isn't locally installed (exit 127) — expected.
Claude Code config tampering medium dist/core/PostUpdateMigrator.js:5643-5978
dist/core/PostUpdateMigrator.js writes MCP servers, HTTP hooks, and permission rules to .claude/settings.json. dist/commands/init.js scaffolds .claude/settings.json. This is agent_config_tamper — expected for the package's purpose but modifies AI agent configuration.
Environment variable access for API keys low dist/commands/server.js:8825
dist/commands/server.js reads process.env[p.envKey] for various API keys (line 8825-8831). dist/core/StoreSnapshot.js copies process.env entries (line 741-742). Legitimate for an agent framework but means API keys are in memory.
Command execution low dist/cli.js:1578
dist/cli.js executes tmux commands (line 1578-1581). dist/core/SafeGitExecutor.js runs git (line 854). Expected for agent infrastructure.
Network egress to external services low dist/commands/init.js:297
dist/commands/init.js references dawn.bot-me.ai for dispatches (line 297). Multiple external service integrations (Telegram, GitHub, Slack). Expected for the package's purpose.
BIP-39 recovery phrase generation info dist/identity/RecoveryPhrase.js:27-29
dist/identity/RecoveryPhrase.js generates 24-word mnemonics for agent identity recovery. Not wallet-draining — uses @scure/bip39 and @noble/hashes for Ed25519 key derivation.
Clipboard access in web dashboard info dashboard/index.html:6803
dashboard/index.html uses navigator.clipboard.writeText (lines 6803, 6815, 9447) for web UI copy buttons. Standard browser API usage.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 9. Hooks: postinstall (exit 0), prepare (exit 127), require (exit 0).