Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of instar

[email protected]

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

Summary

[email protected] is an ambitious AI agent infrastructure package (28MB, 1500 files) that installs Claude Code PreToolUse hooks (.claude/hooks/duplicate-build-start-gate.js) which can BLOCK agent tool calls on every mutating write. The postinstall hook (fix-better-sqlite3.cjs) is benign. No credential exfiltration or external network egress detected in the offline lab run. Dashboard serves locally on 127.0.0.1 with clipboard access.

Intent

A large-scale "self-evolving AI agent" infrastructure framework that installs PreToolUse hooks into .claude/hooks/ and patches CLAUDE.md, giving it the ability to intercept and block AI agent tool calls. Operates primarily on localhost with no external network egress observed.

agent_config_tamper code_execution persistence

Findings

PreToolUse hook that can block AI agent tool calls high .claude/hooks/duplicate-build-start-gate.js:90-93
.claude/hooks/duplicate-build-start-gate.js installs a Claude Code PreToolUse hook that reads stdin on every tool call, analyzes the file being written, and can BLOCK the call (exit 2). Only activates when CLAUDE_PROJECT_DIR points to an instar repo; fails open on errors.
Agent configuration tamper — installs hooks and patches CLAUDE.md high dist/commands/init.js:366-415
dist/commands/init.js creates .claude/settings.json, .claude/scripts/, .claude/skills/ and writes CLAUDE.md. dist/core/PostUpdateMigrator.js re-installs hooks with latest templates on every update.
Persistence via launchd/systemd medium dist/commands/listener.js:391-451
dist/commands/listener.js installs a launchd plist at ~/Library/LaunchAgents/dev.instar.listener.plist and a systemd user service at ~/.config/systemd/user/.
Clipboard access via local dashboard low dashboard/glance.js:1607, dashboard/index.html:6803
dashboard/glance.js and dashboard/index.html use navigator.clipboard.writeText() for copy-to-clipboard functionality in the locally-served dashboard.
Postinstall hook is benign info scripts/fix-better-sqlite3.cjs:1-100
scripts/fix-better-sqlite3.cjs only tries to fix better-sqlite3 native binary; skips cleanly when the module is absent. Lab run: exit 0, no network.

Lab evidence

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