skills/amd/skills/rocm-doctor/Gen Agent Trust Hub

rocm-doctor

Pass

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill fetches and executes installer scripts for the rocm CLI from official vendor-owned repositories.
  • Evidence: curl -fsSL https://raw.githubusercontent.com/ROCm/rocm-cli/main/install.sh | sh (Linux) and irm https://raw.githubusercontent.com/ROCm/rocm-cli/main/install.ps1 | iex (Windows).
  • Context: These resources are hosted under the ROCm GitHub organization, which is the official development channel for AMD's ROCm software stack.
  • [REMOTE_CODE_EXECUTION]: The skill uses piped execution to install necessary diagnostic tools.
  • Evidence: Direct piping of remote scripts to shell (sh) or PowerShell (iex) during the Phase 0 prerequisite check.
  • Context: This behavior is limited to the initial setup of the vendor's own diagnostic tool and is gated by user consent as specified in the workflow.
  • [PRIVILEGE_ESCALATION]: Certain diagnostic fixes require elevated permissions to modify hardware configuration or group memberships.
  • Evidence: The reference.md file identifies several fixes (e.g., fix-4-render-group, fix-11-iommu) as requiring sudo: true or administrative access.
  • Context: The skill instructions strictly mandate that the agent must not run mutating fixes without explicit user consent and should prefer --dry-run to preview changes.
  • [COMMAND_EXECUTION]: The skill's primary function is driving the rocm CLI via subprocess calls.
  • Evidence: Frequent use of rocm diagnose, rocm examine, and rocm fix commands throughout the instructions.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes arbitrary user-provided error text (symptoms) by passing it as an argument to an external CLI tool, creating an injection surface.
  • Ingestion points: SKILL.md instructs the agent to pass user-pasted error text to rocm diagnose --symptom "<text>".
  • Boundary markers: Absent; the content is passed directly as a string argument to the CLI.
  • Capability inventory: The skill has the capability to execute system fixes via rocm fix, including commands requiring sudo (e.g., usermod, modprobe).
  • Sanitization: The skill relies on the external CLI's closed failure-mode catalog to match symptoms, which naturally limits the impact of malicious text intended to trigger unintended diagnostic paths.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 10, 2026, 07:26 AM