The code implements persistent agent hook setup through an explicit migration command. This warrants a capability warning, not a block, because there is no install-time trigger or confirmed malicious payload.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
The user runs the CLI migrate command with application of updates.
Impact
Later Kimi sessions can execute the project-local bridge and its configured hooks.
Mechanism
Migration selects hook targets and writes a managed Kimi user configuration block that invokes a project-local hook bridge.
Evidence
dist/index.jsdist/migrate.jsdist/targets/sync.jsdist/targets/hooks-export.jsstacks/_shared/hooks/svs-bridge.mjs~/.kimi-code/config.toml.kimi-code/local.toml.grok/hooks/svs.json.claude/hooks/svs-bridge.mjs