bmad-module-builder
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill scaffolds new module infrastructure by writing Python scripts (
merge-config.py,merge-help-csv.py,cleanup-legacy.py) and configuration files to the user's project directory. It subsequently executes these local scripts usinguv runto perform configuration merges and directory cleanups. This behavior is the intended primary purpose of the module builder. - [COMMAND_EXECUTION]: Several scripts, particularly in the
scripts/tests/directory, usesubprocess.run()to execute shell commands. These are utilized for testing the scaffolding logic and running the generated scripts within a controlled test environment. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection as it is designed to ingest and process untrusted data from external sources.
- Ingestion points: In
references/create-module.md, the agent is instructed to read allSKILL.mdandcustomize.tomlfiles from a user-provided directory to extract metadata, capabilities, and configuration requirements. - Boundary markers: No specific boundary markers or "ignore embedded instructions" warnings are defined for the content extracted from external skills.
- Capability inventory: The skill utilizes
scripts/scaffold-setup-skill.pyandscripts/scaffold-standalone-module.pyto write the extracted data to disk. It also executesscripts/merge-config.pyandscripts/merge-help-csv.pyviauv runto process the generated configuration. - Sanitization: The instructions do not specify explicit sanitization or filtering for the natural language content read from the source skills before it is interpolated into the generated module files.
Audit Metadata