leader-workitems

Pass

Audited by Gen Agent Trust Hub on Sep 4, 2026

Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/leader-card.py extensively uses subprocess.run to execute the az (Azure CLI) and m365 (Microsoft 365 CLI) command-line tools.
  • It executes az boards query to retrieve work item data from Azure DevOps based on the project list and team roster.
  • It executes m365 request to send processed Adaptive Cards to Microsoft Graph APIs for delivery to Teams.
  • While arguments are passed as lists to mitigate shell injection, the skill effectively acts as a wrapper for shell-based automation.
  • [CREDENTIALS_UNSAFE]: The skill processes sensitive information, including Azure DevOps Personal Access Tokens (AZURE_DEVOPS_EXT_PAT) and Microsoft 365 User IDs.
  • Instructions in SKILL.md direct the agent to read ~/ttg-workspace/.env and ~/ttg-workspace/.claude/devops.local.json, which contain these credentials.
  • These credentials are used to authenticate the CLI tools for fetching data and sending messages.
  • [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection by ingesting untrusted data from external work items and the team roster.
  • Ingestion points: Data is pulled from Azure DevOps (work item titles, states, and project names) via az_json in scripts/leader-card.py and from the roster file devops.settings.json.
  • Capability inventory: The script has the ability to write to /tmp, execute subprocesses for az and m365, and perform network operations via these tools.
  • Boundary markers: The script uses escape_md to sanitize work item titles for Markdown display in the Adaptive Cards, but no specific boundary markers are used to prevent the agent from misinterpreting instructions embedded in work item content if processed in a multi-step chain.
  • Sanitization: Basic escaping is performed for UI rendering, but the content is not validated for malicious instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 4, 2026, 05:54 AM