Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of instar

[email protected]

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

Summary

Clean. The postinstall hook (scripts/fix-better-sqlite3.cjs) downloads/compiles a native binary for better-sqlite3 from GitHub releases — a standard pattern. The package writes hooks to .claude/hooks/ and CLAUDE.md as part of its stated agent-infrastructure setup (instar init, migrate sync-session-hook). All network activity is to localhost (127.0.0.1:4040-4099) for the local agent server/dashboard. The lab recorded zero external DNS names or connection attempts. Encryption-related files (AccountCredentialShare, SecretSync, IdentityRecoveryBearer) implement mesh credential sharing with AAD-bound AES-GCM — not ransomware; the pre-screen "ransomware" tag is a false positive from matching on crypto APIs used legitimately. Crypto wallet files (RecoveryPhrase) generate BIP-39 mnemonics for agent identity recovery, not for draining wallets. The prompt-injection hints on dashboard/index.html are false positives — the actual text describes UI behavior ("rather than silently implying unprotected"), not instructions to an AI agent.

Intent

A large AI agent infrastructure framework that manages persistent agent sessions, multi-machine mesh coordination, and messaging integrations (Telegram, Slack, Gmail). It installs a native-module fix script at postinstall and configures local hooks for Claude Code and similar agents.

Findings

Postinstall native-module fix info scripts/fix-better-sqlite3.cjs:172-193
scripts/fix-better-sqlite3.cjs downloads prebuilds from github.com/WiseLibs/better-sqlite3/releases or falls back to npm rebuild (node-gyp). Standard for native addons.
Agent config hook installation info dist/commands/init.js:22-25
dist/commands/init.js writes .claude/settings.json, .claude/hooks/instar/session-start.sh, and patches CLAUDE.md as part of project initialization. This is the package's stated behavior for AI agent infrastructure setup.
Localhost-only network activity info dist/cli.js:268, dist/cli.js:933, dashboard/index.html:4310
All fetch/WebSocket calls target http://127.0.0.1:${port} (4040-4099) for the local agent server and dashboard. No external DNS names observed in the lab.
False positive: ransomware on crypto files info dist/core/AccountCredentialShare.js:32, dist/core/SecretSync.js:35, dist/core/IdentityRecoveryBearer.js:74
AccountCredentialShare.js, SecretSync.js, IdentityRecoveryBearer.js use AES-GCM with AAD for mesh credential encryption — legitimate cryptographic operations, not ransomware.
False positive: crypto_wallet on RecoveryPhrase info dist/identity/RecoveryPhrase.js:27-29
dist/identity/RecoveryPhrase.js generates BIP-39 mnemonics for agent identity recovery (Ed25519 keypairs via Argon2id), not cryptocurrency wallet operations.
False positive: prompt injection on dashboard comments info dashboard/index.html:5008, dashboard/index.html:5216, dashboard/index.html:8611
dashboard/index.html lines 5008, 5216, 8611 contain phrases like 'silently implying unprotected' and 'silently refreshes' — legitimate UI descriptions, not instructions to an AI agent.

Lab evidence

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