msgraph
Pass
Audited by Gen Agent Trust Hub on Apr 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to Indirect Prompt Injection (Category 8) because it fetches and processes data from external sources like Microsoft Teams and Outlook emails.
- Ingestion points: Data is fetched from the Microsoft Graph API in
scripts/query.pyand variousscripts/scan-*.pyscripts. - Boundary markers: The skill does not implement delimiters or instructions to ignore embedded commands when presenting the retrieved data to the agent.
- Capability inventory: The skill has read/write filesystem access, network access, and the ability to execute subprocesses.
- Sanitization: Content is not sanitized or filtered before being presented to the agent.
- [COMMAND_EXECUTION]: The
scripts/_common.pyscript contains amaybe_relayfunction that executes a Python script path provided via the--relaycommand-line argument usingsubprocess.run. While this is a documented feature for system integration, it represents a potential execution vector if the agent is influenced to use a malicious script path. Additionally,scripts/_bootstrap.pyusessubprocess.check_callandos.execvto manage the virtual environment and re-execute scripts. - [EXTERNAL_DOWNLOADS]: The
scripts/_bootstrap.pyscript automatically installs necessary dependencies from the official Python Package Index (PyPI) usingpipduring the first run to ensure the environment is correctly configured.
Audit Metadata