detecting-azure-lateral-movement
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes Azure AD audit logs and sign-in data via the Microsoft Graph API. As this data originates from external systems (Azure AD), it represents a surface for indirect prompt injection if an attacker can manipulate log entries (such as application names, user principal names, or IP addresses) to influence the agent's behavior. * Ingestion points:
query_audit_logsandquery_signin_logsfunctions inscripts/agent.py. * Boundary markers: None explicitly used in the log processing logic to delimit external data. * Capability inventory: The script performs network reads viarequests.getand writes the resulting report to a local JSON file. * Sanitization: The script focuses on extracting specific JSON fields and generating a structured report without explicit sanitization of the values. - [EXTERNAL_DOWNLOADS]: The
scripts/agent.pyscript communicates withlogin.microsoftonline.comandgraph.microsoft.com. These network operations target official Microsoft services and are necessary for the skill's functionality to retrieve Azure security logs.
Audit Metadata