microsoft-365
Pass
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill uses a bootstrap mechanism in
scripts/_bootstrap.pythat re-executes the current process under a managed virtual environment python interpreter usingos.execv(). While intended for dependency management, this involves process replacement and runtime modification of the execution environment. - [EXTERNAL_DOWNLOADS]: The
scripts/_bootstrap.pyscript automatically invokespip installto download and install packages from the Python Package Index (PyPI) during the first run or if dependencies are missing. This occurs without explicit user prompt beyond the initial skill execution. - [COMMAND_EXECUTION]: The shared helper
scripts/_common.pyincludes amaybe_relayfunction used by scan scripts to execute an external script path provided via the--relayargument. This usessubprocess.run()to launch the specified script using the system's Python interpreter. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted external data from Microsoft 365 services, creating a surface for indirect prompt injection.
- Ingestion points: Microsoft Graph API data retrieved via
scripts/query.py,scripts/scan-email.py,scripts/scan-teams.py, andscripts/scan-calendar.pyis printed to stdout for agent consumption or written to JSON files. - Boundary markers: The skill lacks explicit boundary markers or instructions telling the agent to ignore potentially malicious content embedded in message bodies or file names.
- Capability inventory: The skill possesses capabilities for network operations (
urllib.requestin all scan/query scripts), file system modification (append_resultsinscripts/_common.py), and command execution (subprocess.runinscripts/_common.py). - Sanitization: There is no sanitization or filtering of the retrieved M365 content (e.g., email bodies, Teams messages) before it is passed to the agent's context.
Audit Metadata