azure-expert
Warn
Audited by Gen Agent Trust Hub on Sep 24, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The Python scripts
scripts/deploy_webapp.py,scripts/resource_status.py, andscripts/cost_analyzer.pyutilizesubprocess.runwithshell=Trueto execute Azure CLI commands. User-supplied arguments such as--name,--resource-group, and--runtimeare directly interpolated into these shell strings without validation or escaping, creating a command injection vulnerability. - [DYNAMIC_EXECUTION]: The management scripts generate and execute shell command strings dynamically based on runtime parameters. This practice, combined with the lack of input sanitization, exposes the host system to arbitrary command execution if an attacker provides crafted resource names or other parameters.
- [INDIRECT_PROMPT_INJECTION]: The skill possesses a surface for indirect prompt injection by processing external data.
- Ingestion points: Log data fetched from Azure services in
scripts/resource_status.pyviaaz webapp log showis processed and displayed by the agent. - Boundary markers: Absent. The script provides no delimitation or warnings to the agent when processing these logs.
- Capability inventory: The skill includes several scripts that execute shell commands with the identity of the logged-in Azure user.
- Sanitization: Absent. There is no evidence of log scrubbing or escaping before the data is presented to the agent.
Audit Metadata