opencode-server

Fail

Audited by Snyk on Mar 4, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E006: Malicious code pattern detected in skill scripts.

  • Malicious code pattern detected (high risk: 0.90). The skill mandates delegating all source-code work and file attachments to a remote headless server (requiring server URL and auth in the environment), auto-approves permissions in non-interactive mode, and persists sessions—creating clear opportunities for unauthorized data exfiltration, credential theft, remote code execution/backdoor injection, and supply-chain tampering by a malicious or compromised OpenCode server.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

  • Potentially malicious external URL detected (high risk: 0.90). The skill explicitly requires connecting at runtime to an external OpenCode server via the CLI flag --attach , so the remote endpoint () would receive prompts and execute code on behalf of the agent, making it a runtime dependency that directly controls prompts and code execution.
Audit Metadata
Risk Level
CRITICAL
Analyzed
Mar 4, 2026, 12:39 AM