bmad-customize
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external sources that are then presented to the agent's context. Specifically,
scripts/list_customizable_skills.pyscans sibling directories to extract thedescriptionfield from the YAML frontmatter ofSKILL.mdfiles. This description is subsequently displayed to the user by the agent. If an attacker provides a malicious skill directory with a crafted description, it could influence the agent's behavior during the discovery phase. - Ingestion points:
scripts/list_customizable_skills.pyreadsSKILL.mdfiles from directories within the scanned skills roots. - Boundary markers: No specific delimiters or 'ignore' instructions are present in the script's output to encapsulate the extracted descriptions.
- Capability inventory: The skill can write TOML files to the
{project-root}/_bmad/custom/directory and execute local Python scripts viauv run. - Sanitization: The discovery script uses
json.dumps()to structure the output, but the content of the description field is not sanitized for potential injection patterns. - [COMMAND_EXECUTION]: The skill uses
uv runto execute local scripts (list_customizable_skills.py) and framework-provided scripts (resolve_customization.py). While these are part of the skill's intended functionality for managing the BMad environment, they represent a capability to execute code on the host system within the project's scope.
Audit Metadata