The install-time download and execution is conditional Bun setup for this CLI, placed in its own ~/.clai directory and sourced from bun.sh. The remaining flagged behaviors are feature-driven, package-associated, or protective; inspected source did not establish a concrete attack surface.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Package installation when Bun is absent, or explicit use of the corresponding CLI feature.
Impact
The install hook can add the Bun runtime under ~/.clai/bin. Inspected sources showed no credential harvesting, unrelated control-surface mutation, or other confirmed attack behavior.
Mechanism
The postinstall fetches and runs Bun’s installer from bun.sh; interactive shell execution and node-pty loading occur through CLI functionality.
Evidence
bin/postinstall.mjsdist/tools/shell/exec-attempt.jsdist/commands/update/installers.jsdist/tools/web/ssrf-guard.jsdist/agent/responder-context.jsdist/interactive-session/transport-node-pty.js