Back to skill

Security audit

opencode-model-benchmark

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed OpenCode model speed benchmark that makes limited network calls and prints results without saving data or changing the system.

Install this only if you are comfortable with the skill contacting opencode.ai to fetch model documentation and run benchmark prompts. It does not require an API key and does not appear to access local private data, but its user-facing text is primarily Chinese and it lacks a separate machine-readable network permission declaration.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill instructs the agent to perform live network access to external endpoints and scrape model lists, but it does not declare any explicit tool scope or allowed-tools/permissions metadata. This weakens policy enforcement and reviewability, because a consumer cannot easily tell that the skill requires outbound network access or constrain it to the intended domains.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The top-level docstring presents the skill entirely in Chinese, which is a natural-language locale constraint visible to users and operators. There is no indication that the skill is region-specific or that users can opt into another language, which can conflict with language/locale choice policies.

Content

No source excerpt is available for this finding.