azure-diagnostics
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATIONPROMPT_INJECTION
Full Analysis
- [Indirect Prompt Injection Surface]: This skill ingests untrusted data from service logs and pod logs (e.g., via
kubectl logsandaz webapp log tail) as seen in files such asscripts/pod-evidence.shandreferences/app-service/README.md. This data enters the agent context without explicit boundary markers or sanitization. The capability inventory includes the Azure CLI, kubectl, and various diagnostic scripts used to process this data. - [Privileged Command Execution]: The
run-ig.shandrun-ig.ps1scripts facilitate the execution ofkubectl debug --profile=sysadminfor node-level observability. This represents a privilege escalation surface as it provides root-level access to cluster nodes. The documentation includes explicit instructions to seek user approval before performing these actions. - [Instruction Override]: The
SKILL.mdfile contains emphatic directives such as "AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE". While intended to define a systematic diagnostic workflow, this pattern of overriding instructions is a common indicator of prompt injection techniques. - [Access to Sensitive Data]: Troubleshooting guides, such as the one for Function Apps in
references/functions/README.md, include commands for retrieving application settings and connection strings. While necessary for debugging, this capability provides a pathway for accessing potentially sensitive environment variables.
Audit Metadata