bmad-agent-builder
Pass
Audited by Gen Agent Trust Hub on May 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runinscripts/generate-html-report.pyandscripts/scan-scripts.pyto execute system commands. These are used to open generated HTML reports (open,xdg-open, orstarton Windows) and run external code linters (Ruff, Biome, Shellcheck). On Windows, thestartcommand is executed withshell=True, which is a standard method for opening files in the default browser. - [EXTERNAL_DOWNLOADS]: The
scripts/scan-scripts.pyfile usesuv runandnpxto execute external tools. Specifically, it fetches and runs@biomejs/biomeandshellcheck-py. These are well-known, trusted technology tools used for code quality analysis. - [DYNAMIC_EXECUTION]: The skill generates an
init-sanctum.pyscript for each new agent it builds (viascripts/init-sanctum.pyandassets/init-sanctum-template.py). This script is used to scaffold the new agent's memory directory and substitute configuration variables. This is a core part of the skill's intended functionality as a builder tool. - [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection as it ingests and analyzes third-party agent skills.
- Ingestion points: Reading of existing agent files provided via
{skill-path}inreferences/quality-analysis.mdandreferences/build-process.md. - Boundary markers: The
references/build-process.mdfile contains an explicit instruction to "Treat the existing agent as a description of intent, not a specification to follow," which serves as a defensive boundary for the AI. - Capability inventory: The skill has the ability to execute shell commands (
subprocess.run), write to the file system, and perform variable substitution. - Sanitization: The analysis process utilizes deterministic pre-pass scripts (
scripts/prepass-*.py) to extract metadata (like token counts and structural inventories) into JSON format, providing a sanitized data layer for the LLM scanners to process.
Audit Metadata