The postinstall hook automatically replaces installed copies of the package's own agent skill across global agent directories. This is an unconsented install-time agent-skill update, so it merits a warning as an agent extension lifecycle risk; the reviewed path does not show credential collection or network contact.
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
Package installation runs the postinstall hook.
Impact
Agent instructions change without a separate user request; the behavior is limited to this package's own skill and warrants a warning.
Mechanism
It checks registered global agent skill locations and deletes and rewrites any installed automations-cli skill file with the package's generated content.
Evidence
package.jsonscripts/refresh-skills.mjsdist/chunk-PJQRJZAW.js<home>/.claude/skills/automations-cli/SKILL.md<home>/.codex/skills/automations-cli/SKILL.md<home>/.copilot/skills/automations-cli/SKILL.md<home>/.cursor/skills/automations-cli/SKILL.md