The postinstall hook is gated to supported global install contexts and installs bundled skills into detected agent skill directories. That guarded extension setup warrants a warning, while inspected source does not establish credential theft, exfiltration, or another concrete attack.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Installation through the supported global lifecycle conditions.
Impact
The installation can add or update skills available to supported agent tools.
Mechanism
The hook detects agent directories and synchronizes bundled skills into a canonical user skill directory and detected agent skill directories; it may replace a missing or outdated managed skill.
Evidence
package.jsondist/bin/postinstall.jsdist/src/features/skill/installer.js~/.agents/skills/<skill>~/.claude/skills/<skill>~/.codex/skills/<skill>~/.cursor/skills/<skill>~/.config/opencode/skills/<skill>