The global-install lifecycle hook automatically writes the package's own skill into agent configuration directories, which meets the warning criteria for agent extension lifecycle risk. The hook is gated to supported global installs, and the inspected skill contains product-use guidance without instructions to hide actions or change agent permissions.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
A supported global npm or pnpm installation.
Impact
Agent configuration gains the package's own skill without a separate user command; this is an agent extension lifecycle risk.
Mechanism
The hook synchronizes the bundled gd-cli skill into ~/.agents/skills/gd-cli and into skills directories for detected agent installations.
Evidence
package.jsondist/bin/postinstall.jsdist/src/features/skill/installer.jsskills/gd-cli/SKILL.md~/.agents/skills/gd-cli~/.claude/skills/gd-cli~/.codex/skills/gd-cli~/.cursor/skills/gd-cli~/.config/opencode/skills/gd-cli