Back to skill

Security audit

星期五

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Chinese-language guide for using the opencode coding agent, with expected file-modifying capabilities and no hidden execution, exfiltration, or persistence in the artifact.

Install this only if you intend to use opencode as a coding agent and understand the Chinese documentation or can translate it. Run it in trusted project directories, prefer read-only or interactive mode for unfamiliar code, and review any automatic changes before committing or deploying.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill documentation is entirely written in Chinese, including the title, purpose, and usage instructions, with no indication that other languages are supported. Under the policy criteria, forcing a specific language or locale without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
85% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 182)May include surrounding context.

toml
[default]
model = "coder-model"
auto_approve = false
max_iterations = 10

[profiles.python]

Static analysis

No suspicious patterns detected.