The install hook automatically updates the package's own agent skill in supported agent directories. This is a real, unprompted agent-extension lifecycle risk, but the observed writes are limited to the package's own skill rather than broader agent settings.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Package installation via npm.
Impact
An agent's package-specific skill instructions can change during package installation without a separate user command.
Mechanism
The postinstall hook checks for already-installed skills and overwrites their SKILL.md with the package's bundled content.
Evidence
package.jsondist/postinstall.jsdist/lib/skills/update-installed.jsdist/lib/skills/create-installer.jsdist/lib/skills/index.js~/.claude/skills/comms-cli/SKILL.md~/.codex/skills/comms-cli/SKILL.md~/.cursor/skills/comms-cli/SKILL.md~/.gemini/skills/comms-cli/SKILL.md~/.pi/agent/skills/comms-cli/SKILL.md