The package automatically installs its own agent extensions during global installation, which is an install-time change to user-level agent instructions without a separate request. The reviewed extension content is consistent with the package’s website-building purpose, so this is a warning-level agent extension lifecycle risk rather than malicious control hijacking.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Package installation when npm_config_global is true, or when COSMO_POSTINSTALL_FORCE=1 is set.
Impact
Agent behavior is extended automatically without a separate setup request; the reviewed instructions concern using Cosmo to build websites.
Mechanism
The postinstall calls installAgent for Claude, Codex, and Antigravity, copying Cosmo’s plugin, skill, or workflow files into the corresponding agent directory.
Evidence
scripts/postinstall.mjspackages/cli/lib/agent-adapters.mjspackages/cli/lib/claude-plugin.mjsplugins/agent-skills/cosmo/SKILL.md~/.claude/skills/cosmo~/.agents/skills/cosmo~/.gemini/config/global_workflows/cosmo.md