m365-entra-attack
Fail
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill instructs the user to install several third-party security tools (msftrecon, o365spray, and ProjectDiscovery tools) from external repositories like GitHub and public package registries. These are recognized tools within the security domain.
- [COMMAND_EXECUTION]: The skill relies on executing various shell commands and Python scripts to perform reconnaissance and authentication tests against Entra ID endpoints. This includes a connectivity test flagged by automated scanners, which is verified to be a benign HTTP status check.
- [INDIRECT_PROMPT_INJECTION]: The skill processes responses from external Microsoft endpoints and web page content via Playwright.
- Ingestion points: Data is ingested from login.microsoftonline.com responses and browser content in SKILL.md.
- Boundary markers: Absent.
- Capability inventory: Execution of shell commands (curl, msftrecon, o365spray) and Python scripts using Playwright and urllib.
- Sanitization: Performs structured JSON parsing but does not explicitly sanitize full response bodies.
Recommendations
- HIGH: Downloads and executes remote code from: https://login.microsoftonline.com/example.com/.well-known/openid-configuration - DO NOT USE without thorough review
Audit Metadata