The postinstall hook automatically updates Pantheon-owned agent instructions, skills, MCP scripts, and related artifacts in an existing OpenCode configuration. The conditional, package-scoped behavior is an agent extension lifecycle risk; the reviewed paths show no credential theft or unrelated payload.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
npm install or update when an OpenCode config directory exists.
Impact
Package updates can change agent instructions and executable MCP or code-mode artifacts without a separate explicit init or update command; this is an automatic extension lifecycle risk.
Mechanism
The lifecycle script invokes sync-tui.mjs, which calls syncCopyArtifacts to copy package-owned agents, skills, instructions, commands, MCP scripts, and code-mode files into the user's OpenCode configuration.
Evidence
package.jsonscripts/sync-tui.mjsscripts/sync-artifacts.mjsconfigDir/agentsconfigDir/routing.ymlconfigDir/AGENTS.mdconfigDir/skillsconfigDir/plugins/pantheon-tuiconfigDir MCP scripts