The global-install hook performs automatic setup of a first-party agent skill, including replacement of existing same-named targets. This is a guarded lifecycle extension risk that warrants a warning, but the inspected behavior does not establish a concrete attack suitable for blocking.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Global npm installation of the package, unless the sync is disabled by an environment setting.
Impact
An existing same-named skill may be overwritten without a separate setup command, changing instructions available to the user’s agents.
Mechanism
The postinstall invokes a global skill install with automatic approval, then stages the bundled skill and replaces each selected target directory.
Evidence
package.jsonscripts/postinstall.mjsscripts/sync-bundled-skill.mjsskills/clawclaw/SKILL.mdskills/clawclaw/~/.agents/skills/clawclaw~/.claude/skills/clawclaw~/.codex/skills/clawclaw