microsoft-365

Pass

Audited by Gen Agent Trust Hub on Sep 22, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill relies on bash wrapper scripts (upload-artifact.sh, download-artifact.sh) that execute the m365 CLI. These scripts interpolate user-provided arguments such as client, phase, and filename into shell commands and file paths. Although the scripts attempt to use shell quoting and arrays, there is a residual risk of path traversal or parameter injection if these inputs are not strictly validated by the agent before invocation.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from external, potentially untrusted sources such as SharePoint artifacts and project logs.
  • Ingestion points: The agent reads content from SharePoint files (download-artifact.sh), reads local configuration from settings.json, and environment variables from .env and .claude/devops.settings.json (SKILL.md, reference/teams-chat.md).
  • Boundary markers: There are no explicit instructions or delimiters defined to ensure the agent ignores malicious instructions that might be embedded within the project artifacts it processes (SKILL.md).
  • Capability inventory: The skill allows the agent to write files to the local disk, upload artifacts to remote SharePoint sites, and send network messages to Microsoft Teams (SKILL.md, scripts/upload-artifact.sh).
  • Sanitization: While the instructions suggest HTML-escaping work item titles, the agent is tasked with converting untrusted markdown content into HTML for Teams messages, which could be exploited to inject malicious HTML or control instructions into the communication channel (reference/teams-chat.md).
  • [EXTERNAL_DOWNLOADS]: The skill documentation recommends the installation of the @pnp/cli-microsoft365 package via npm (SKILL.md, reference/auth-setup.md). While this is a widely recognized community tool for Microsoft 365 management, it represents an external dependency that should be verified and maintained.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 22, 2026, 07:44 AM