skill-installer

Fail

Audited by Gen Agent Trust Hub on Jun 18, 2026

Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands (mkdir, git, cp, rm) using variables ({owner}, {repo}, {branch}, {path}, {skill_name}) that are parsed directly from user-provided URLs. A maliciously crafted URL could include shell metacharacters (e.g., backticks, $(command), or semicolons) leading to arbitrary command execution on the host system if the agent does not properly sanitize these inputs.
  • [PROMPT_INJECTION]: The skill features a security assessment phase where it analyzes untrusted, downloaded content (Step 3). This creates a surface for Indirect Prompt Injection. A malicious skill being analyzed could contain instructions designed to deceive the agent or subvert the assessment process.
  • Ingestion points: Files downloaded from external GitHub repositories via git sparse-checkout (SKILL.md, Step 2).
  • Boundary markers: Absent. The instructions do not specify the use of delimiters or 'ignore instructions' warnings when the agent reads external file content for analysis.
  • Capability inventory: The agent has shell access (git, mkdir, cp, rm) and the ability to write to sensitive local directories (~/.config/opencode/skills/).
  • Sanitization: Absent. There are no instructions to sanitize or escape the content of external files before processing.
  • [DATA_EXFILTRATION]: The skill accesses and writes to sensitive local filesystem paths, specifically the machine-wide configuration directory (~/.config/opencode/skills/). While this is part of the intended installation functionality, the lack of input validation on the source content poses a risk of placing malicious files into sensitive locations.
  • [EXTERNAL_DOWNLOADS]: The skill uses git to download external content from GitHub. While GitHub is a well-known service, the skill's logic allows downloading from any public repository, including those from untrusted or unknown sources.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Jun 18, 2026, 12:49 AM