rocprofiler-systems-discovering-profiling-options

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPERSISTENCE
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute local system tools, including rocprof-sys-avail, rocprof-sys-run, and rocminfo. These commands are used to query hardware configuration, available counters, and API tracing domains.
  • [INDIRECT_PROMPT_INJECTION]: The skill maps user-provided questions or topics directly to CLI arguments, such as rocprof-sys-run --help=<topic>, rocprof-sys-avail -r <regex>, and rocprof-sys-avail --list-operations <domain>. This creates a command injection surface where crafted user input containing shell metacharacters could lead to arbitrary command execution if the agent does not sanitize the input.
  • [PERSISTENCE]: The instructions involve creating a configuration file at ~/.rocprof-sys.cfg and exporting environment variables like ROCPROFSYS_CONFIG_FILE to maintain profiling settings across sessions. While standard for this utility, it represents a persistent modification to the user's local environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 07:26 AM