skills/mukul975/anthropic-cybersecurity-skills/detecting-azure-service-principal-abuse/Gen Agent Trust Hub
detecting-azure-service-principal-abuse
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/process.pyusessubprocess.runto execute Azure CLI (az) commands. While the arguments are defined within the script's audit logic rather than direct user input, this facilitates system-level command execution. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from Microsoft Graph API and Azure AD logs and includes it in audit reports.
- Ingestion points: External data is ingested in
scripts/agent.pyandscripts/process.pyfrom Entra ID API responses and CLI outputs. - Boundary markers: The skill lacks boundary markers or instructions to disregard potentially malicious content within the logs.
- Capability inventory: The skill can perform network operations to Microsoft identity endpoints and write data to the local file system.
- Sanitization: No sanitization or escaping is applied to ingested fields like service principal names before they are reported.
Audit Metadata