m365-entra-attack

Warn

Audited by Gen Agent Trust Hub on Jun 30, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to run shell commands for reconnaissance using msftrecon and perform tool installations via pip, brew, and go.
  • [EXTERNAL_DOWNLOADS]: The skill downloads and installs software from third-party GitHub repositories (github.com/projectdiscovery/...) and PyPI (msftrecon, o365spray), which are not identified as trusted sources.
  • [REMOTE_CODE_EXECUTION]: The provided Python scripts for credential validation and browser automation process data from external network sources. A security flaw exists in the ROPC validation script, which explicitly disables SSL certificate verification (ctx.check_hostname=False; ctx.verify_mode=ssl.CERT_NONE), exposing the connection to man-in-the-middle attacks.
  • [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface by scraping external HTML content using Playwright. 1. Ingestion points: Data retrieved via page.content() from remote login pages. 2. Boundary markers: None used to separate external data from agent instructions. 3. Capability inventory: Subprocess execution, local file writing, and network operations. 4. Sanitization: No filtering or escaping of the scraped content is implemented.
  • [SAFE]: References to official Microsoft infrastructure (login.microsoftonline.com, graph.windows.net) are documented as interactions with well-known technology services.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 30, 2026, 04:42 PM