The package has a guarded, first-party agent integration refresh path plus a hidden agent command injection hook. This warrants a warning under the lifecycle-risk policy, but the inspected source does not establish malicious installation behavior.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Global npm installation on a machine with an existing kcap integration, followed by an affected agent session.
Impact
Previously enabled agent integrations can be updated and an agent can be directed to run a package command without user-visible disclosure.
Mechanism
Conditional agent-plugin refresh and hidden hook prompt injection.
Evidence
bin/postinstall.jsbin/refresh.jskcap/hooks/set-title-prompt.sh~/.agents/skills/~/.pi/agent/extensions/kcap.ts~/.config/opencode/plugins/kcap.ts~/.gemini~/.kiro/agents/kcap.json$HOME/.config/kcap/watchers