bmad-os-root-cause-analysis
Pass
Audited by Gen Agent Trust Hub on Oct 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill relies on the
gh(GitHub CLI) andgitcommands to perform its core functions. It executes commands such asgh auth status,git blame, andgit logto extract repository metadata and diffs. These operations are scoped to the local repository environment. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from external sources, specifically Pull Request descriptions, issue discussions, and commit messages.
- Ingestion points: Pull request bodies, issue comments, and git commit messages are read into the agent context (SKILL.md, Execution steps 1 and 2).
- Boundary markers: The instructions do not define specific delimiters or instructions to ignore potential commands embedded within the PR or issue text.
- Capability inventory: The skill can execute shell commands (
git,gh) and write files to the local disk (_bmad-output/rca-reports/). - Sanitization: There is no explicit logic to sanitize or escape the external text before it is analyzed by the LLM.
- [DATA_EXPOSURE]: The skill explicitly instructs the agent to perform 'Direct attribution' by naming individuals who introduced defects. While this is a documented design principle of the skill, it involves processing and re-publishing PII (contributor names) from the git history into a new report format.
Audit Metadata