m365-entra-attack
Warn
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The provided Python script for credential validation explicitly disables SSL certificate verification (
ssl.CERT_NONEandcheck_hostname=False). This configuration is dangerous as it exposes all transmitted credentials to Man-in-the-Middle (MitM) attacks during the authentication process. - [EXTERNAL_DOWNLOADS]: The skill recommends installing external packages including
msftreconando365sprayviapip, and suggests cloning repositories from GitHub. These are third-party dependencies not managed by the core platform. - [COMMAND_EXECUTION]: The instructions direct the agent to execute various shell commands for reconnaissance (
msftrecon) and package management (pip install,go install,brew install). It also provides code for automated web interaction using Playwright. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external, untrusted data such as email lists and "stealer-leaked creds," creating a surface for injection attacks.
- Ingestion points: External files containing email addresses and leaked credentials mentioned in the 'When to use' and 'Engagement journaling' sections (SKILL.md).
- Boundary markers: None identified. The skill does not instruct the agent to use delimiters or ignore embedded instructions when reading these external data sources.
- Capability inventory: The skill has significant capabilities including network request generation via Python's
urllib, shell command execution, and full browser automation with Playwright. - Sanitization: While the provided script uses
urllib.parse.urlencodefor the HTTP body, there is no validation or sanitization of the input data before it is interpolated into the workflow. - [CREDENTIALS_UNSAFE]: The documentation explicitly lists common password patterns (e.g.,
<BrandName>@2026) for spraying, which encourages the use of predictable or weak credential sets in a testing environment.
Audit Metadata