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, androcminfo. 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>, androcprof-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.cfgand exporting environment variables likeROCPROFSYS_CONFIG_FILEto maintain profiling settings across sessions. While standard for this utility, it represents a persistent modification to the user's local environment.
Audit Metadata