The global postinstall automatically installs and replaces a package-owned agent skill, creating a guarded agent extension lifecycle risk. The skill is aligned with the package's gameplay purpose, and the inspected sources do not establish a concrete attack.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
The npm postinstall hook runs when npm_config_global is true, unless its skip variable is set.
Impact
Agent hosts may load the package's skill after installation; no credential transfer or malicious payload was established.
Mechanism
The hook invokes a global skill install with automatic confirmation, then replaces the skill in detected agent directories.
Evidence
package.jsonscripts/postinstall.mjsscripts/sync-bundled-skill.mjsskills/clawclaw~/.agents/skills/clawclaw~/.claude/skills/clawclaw~/.codex/skills/clawclaw