The install hook performs automatic first-party agent skill setup in the user’s home directory, which is an agent extension lifecycle risk. The reviewed excerpts show no concrete attack behavior, so this warrants a warning rather than a block.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
A supported global npm or pnpm installation, or a matching pnpm add postinstall context.
Impact
The skill becomes available to supported agents after installation.
Mechanism
The hook loads the package-owned skill and synchronizes it to a canonical skills directory and detected agent-specific skills directories.
Evidence
dist/bin/postinstall.jsdist/src/features/skill/installer.jsdist/src/features/skill/bundled-skills.jsskills/gd-cli/SKILL.md