azure-diagnostics
Pass
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
- Command Execution: The skill includes several utility scripts (e.g., aks-baseline.sh, pod-evidence.sh, run-ig.sh) that perform complex operations using the az and kubectl command-line tools. These scripts are central to the skill's purpose of automating diagnostic data collection across various Azure services.
- Indirect Prompt Injection: The skill acts as an attack surface for indirect prompt injection because it processes untrusted data from external sources including Kubernetes logs, Azure Monitor logs, and AppLens detector output.
- Ingestion points: Evidence collection scripts (pod-evidence.sh, appservice-diagnostics.sh) and reference guides (functions/README.md) ingest content from
kubectl logs,az monitor app-insights query, andAppServiceConsoleLogs. - Boundary markers: No explicit delimiters or warnings for the agent to ignore instructions within the ingested data were found in the skill files.
- Capability inventory: The skill has extensive capabilities, including executing shell commands via az and kubectl, and running local scripts across all diagnostic flows.
- Sanitization: There is no evidence of sanitization or filtering of the external content before it is processed by the agent.
- Privilege Escalation Considerations: The deep diagnostic scripts (run-ig.sh/run-ig.ps1) utilize the
kubectl debug --profile=sysadmincommand, which creates highly privileged pods on cluster nodes. The skill documentation addresses this by noting that these operations require explicit user approval.
Audit Metadata