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.pyextensively usessubprocess.runto execute theaz(Azure CLI) andm365(Microsoft 365 CLI) command-line tools. - It executes
az boards queryto retrieve work item data from Azure DevOps based on the project list and team roster. - It executes
m365 requestto 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.mddirect the agent to read~/ttg-workspace/.envand~/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_jsoninscripts/leader-card.pyand from the roster filedevops.settings.json. - Capability inventory: The script has the ability to write to
/tmp, execute subprocesses forazandm365, and perform network operations via these tools. - Boundary markers: The script uses
escape_mdto 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