Session restore automatically opts the user into a first-party Claude settings change by passing --yes, which is a guarded agent-extension write rather than an install-time hijack. The postinstall script stays inside agentdb compatibility copies and does not show credential theft, remote payload execution, or a self-install chain.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Claude Code invokes the bundled session-restore hook, and the home marker ~/.ruflo/first-run-enabled.json is absent while opt-out and CI gates are clear.
Impact
The user's global Claude Code spinner configuration is changed without an interactive confirmation on that hook path. The change is scoped to spinner text, backed up, and limited to one automatic attempt.
Mechanism
The hook detaches the package CLI with spinner enable --yes, which merges a tagged verb list into spinnerVerbs in the home Claude settings file.
Evidence
.claude/helpers/hook-handler.cjsdist/src/commands/spinner.jspackage.jsonscripts/postinstall.cjs~/.claude/settings.json~/.ruflo/first-run-enabled.json