The postinstall hook automatically refreshes global OpenCode artifacts, including agent and runtime files, after an OpenCode config directory is detected. This supports a warning for guarded extension lifecycle risk, while the inspected vision credential flow resolves a model target and does not establish an unrelated recipient.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Installing or updating the package runs the postinstall hook.
Impact
An install or update can change the package’s global OpenCode files without a new explicit setup command; the inspected code does not show private conversation-content export being enabled.
Mechanism
The hook refreshes the TUI plugin and invokes a copy sync that writes agents, skills, instructions, commands, MCP scripts, and code-mode files into the global OpenCode configuration.
Evidence
package.jsonscripts/postinstall.mjsscripts/sync-tui.mjsscripts/sync-artifacts.mjs