The package automatically writes AI-agent instructions, skills, and agent files into the consumer project during postinstall. This is an install-time AI-agent control-surface change without separate user consent, matching the ai_agent_control_hijack rule.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Package installation runs the postinstall script.
Impact
The copied files become part of the consumer’s agent configuration and can influence later AI-agent behavior.
Mechanism
postinstall invokes scripts/sync.js, which copies missing files from the package’s .agents and .opencode directories into the consumer project root by default.
Policy narrative
During installation, postinstall runs scripts/sync.js. The script defaults its target to the consumer project root and copies missing package files into .agents and .opencode, including agent instructions, skills, and definitions. This creates AI-agent control surfaces without requiring the user to run the setup command. The package’s workflow-template purpose explains the content, but the install-time trigger matches the stated rule for unconsented agent configuration writes.
Evidence
package.jsonscripts/sync.js.agents/**.opencode/**.agents-sync-manifest.json