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.py that re-executes the current process under a managed virtual environment python interpreter using os.execv(). While intended for dependency management, this involves process replacement and runtime modification of the execution environment.
  • [EXTERNAL_DOWNLOADS]: The scripts/_bootstrap.py script automatically invokes pip install to 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.py includes a maybe_relay function used by scan scripts to execute an external script path provided via the --relay argument. This uses subprocess.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, and scripts/scan-calendar.py is 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.request in all scan/query scripts), file system modification (append_results in scripts/_common.py), and command execution (subprocess.run in scripts/_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
Risk Level
SAFE
Analyzed
Nov 5, 2026, 04:03 AM