Global postinstall unconditionally mutates foreign, broad agent control surfaces, including Cursor, Claude, and Codex config, command, and skill files. That is unconsented install-time agent control-surface mutation, not a user-invoked setup command.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
npm postinstall during a global install, when npm_config_global is true.
Impact
Agents such as Cursor, Claude Code, and Codex gain Pantheon commands, skills, and an MCP server without a separate user command such as pantheon mcp-install.
Mechanism
postinstall.mjs spawns dist/pantheon.mjs _postinstall, which calls installAfterGlobalUpdate. That writes ~/.cursor and ~/.claude command files and Pantheon skills, and when connected calls installMcpClients to merge a local stdio MCP server into agent config files.
Policy narrative
On a global npm install, postinstall.mjs launches the package CLI with _postinstall. That path calls installAfterGlobalUpdate, which writes Pantheon slash commands into ~/.cursor/commands and ~/.claude/commands and a skill into ~/.agents and ~/.codex even if the user never paired an account. When a machine config is already present, it also merges a Pantheon stdio MCP server into Cursor, Claude Code, Claude Desktop, Codex, and Windsurf configs. The user did not run the explicit mcp-install command.