doca-pcc-counters

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill instructions require the agent to use sudo for executing the pcc_counters.sh script and mst utility tools. This elevation is used to perform privileged writes and reads to the kernel debugfs interface located at /sys/kernel/debug/mlx5/, which is necessary for arming and querying firmware diagnostic counters.
  • [COMMAND_EXECUTION]: The skill directs the agent to execute specific shell commands, including sudo ./pcc_counters.sh set and sudo ./pcc_counters.sh query. It implements safety mitigations by requiring the agent to identify exact device paths and obtain explicit operator confirmation before performing state-changing writes to the hardware debug interface.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external data originating from the hardware diagnostic tool's output. Ingestion points: Output from the pcc_counters.sh query command parsed in TASKS.md. Boundary markers: The instructions explicitly require the agent to quote the script output verbatim. Capability inventory: The skill possesses shell execution capabilities (via sudo) and file system access (via debugfs). Sanitization: The guidance recommends verifying that the captured counter values are finite integers to prevent processing of malformed or malicious tool output.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 09:26 PM