bmad-build
Pass
Audited by Gen Agent Trust Hub on Aug 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The main entry point in
SKILL.mdinstructs the agent to execute a Python script (render_skill.py) located within the project's local_bmad/scripts/directory usinguv run. While this is core to the skill's functionality, it involves executing code from the project directory being analyzed. - [COMMAND_EXECUTION]: The
customize.tomlfile defines anopen_specinstruction that dynamically constructs shell commands using project-derived variables{project-root}and{spec_file}. Although the skill includes instructions to double-quote these paths to mitigate injection, the pattern of shell-executing strings built from variable paths remains a minor concern. - [DYNAMIC_EXECUTION]: The workflow involves dynamic assembly and execution of instructions for subagents.
step-04-review.mdandstep-oneshot.mdcontain logic to substitute placeholders into reviewer prompts and execute customized instructions verbatim, creating a surface for dynamic behavior based on current project state. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data, including user intent and planning artifacts, creating an indirect prompt injection surface.
- Ingestion points: User intent is captured in
step-01-clarify-and-route.md, and planning artifacts (PRDs, architecture docs, etc.) are ingested incompile-epic-context.md. - Boundary markers: The
spec-template.mduses a<frozen-after-approval>tag to distinguish human-verified intent from agent-generated content, protecting the core specification from unauthorized modifications during automated steps. - Capability inventory: The skill has the capability to write files (
step-02-plan.md), execute shell commands (SKILL.md), and spawn subagents (customize.toml,step-04-review.md). - Sanitization: The skill includes explicit instructions in
step-01-clarify-and-route.mdto ignore directives within the intent that attempt to bypass workflow steps or safety constraints.
Audit Metadata