The inspected code registers an OpenCode connector and performs process and network operations to launch and check a loopback OpenCode server. Provider credentials are allowlisted into that child process, and the reviewed paths show no automatic transfer to a foreign host.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
Import registers the connector; the host application must call buildLaunch and start the returned helper to launch OpenCode.
Impact
No unauthorized data collection, external credential transfer, or unrelated automatic action was identified.
Mechanism
The helper starts OpenCode on loopback, uses local Basic Auth to probe readiness, and passes allowlisted provider credentials to the child process for OpenCode to use.
Evidence
${COTAL_OPENCODE_HOME}/.cotal/opencode/${COTAL_NAME}/opencode.db${COTAL_OPENCODE_HOME}/.cotal/opencode/${COTAL_NAME}/serve.<random>.pid
Network endpoints1
127.0.0.1 (configured or ephemeral port; local OpenCode server)