The automatic postinstall makes first-party OpenCode environment changes without a visible consent guard, warranting a warning for agent extension lifecycle risk. The flagged checker reads and analyzes a supplied file, and inspected source establishes no attack behavior.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Installing or upgrading the package runs its postinstall hook.
Impact
Changes the user's OpenCode environment configuration; no confirmed malicious attack behavior was identified.
Mechanism
The hook invokes a persistent environment-setting helper to set the package config directory and enable the OpenCode experimental LSP tool.
Evidence
shell profile or user environment settings