The default postinstall hook writes the package’s own skill into the user-level agent skills directory and can overwrite its existing copy. This is an automatic agent-extension lifecycle risk, but the reviewed behavior does not show broader agent-control changes or a malicious payload.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Package installation, unless DCR_SKIP_INSTALL=1 is set.
Impact
This changes the user’s AI-agent skill configuration without an explicit install command. The write is limited to this package’s own skill.
Mechanism
The hook calls the installer with force enabled; it writes the package’s SKILL.md to ~/.agents/skills/dev-change-report/SKILL.md and replaces differing existing content.
Evidence
package.jsonbin/postinstall.jslib/install.jsSKILL.md~/.agents/skills/dev-change-report/SKILL.md