skills/mukul975/anthropic-cybersecurity-skills/securing-azure-with-microsoft-defender/Gen Agent Trust Hub
securing-azure-with-microsoft-defender
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/agent.pyuses thesubprocess.runfunction to execute Azure CLI (az) commands. The arguments are passed as a list rather than a shell string, and the subcommands are predefined, which effectively prevents command injection vulnerabilities. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from external sources that could theoretically contain malicious instructions designed to influence an LLM.
- Ingestion points: Data is ingested from Azure security alerts and assessments via the
az security alert listandaz security assessment listcommands inscripts/agent.py. - Boundary markers: The script does not utilize specific delimiters or instructions to isolate the fetched security metadata from the agent's control context.
- Capability inventory: The script includes the capability to write security reports to the local file system using the
generate_posture_reportfunction. - Sanitization: The script performs no sanitization on text fields retrieved from Azure, such as alert names or assessment descriptions, before including them in the console output or JSON report.
Audit Metadata