bmad-toolsmith
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of
uv runto execute local Python scripts for project management (e.g.,resolve_customization.py,resolve_config.py,init_skill.py,render_skill.py). These scripts are used to handle configuration, resolve customization overrides, and scaffold skill directories. This is core functionality for the BMad methodology. - [INDIRECT_PROMPT_INJECTION]: The
from-logsapproach (approaches/from-logs.md) allows the agent to ingest external data in the form of session logs and transcripts via theread_session_log.pyscript. - Ingestion points:
scripts/read_session_log.pyreads Claude Code.jsonltranscripts and.memlog.mdfiles. - Boundary markers: Log content is converted into structured JSON, separating data from instructions.
- Capability inventory: The skill possesses file-write capabilities and command execution via local Python scripts.
- Sanitization: The script uses regular expressions to categorize log entries and truncates text to a maximum of 300 characters to prevent excessive context injection.
- [DYNAMIC_EXECUTION]: The skill uses a template system (
scripts/process_template.py) to generate skill files and configurations at runtime. This allows for dynamic scaffolding based on user-approved execution plans. - [SAFE]: The skill implements proactive security measures for the agents it builds. For example,
CREED-template.mdexplicitly defines 'Deny Zones' for sensitive files like.env, credentials, and tokens. Furthermore, thescan_paths.pyandscan_scripts.pytools automatically detect and flag absolute paths, hardcoded model IDs, and network calls in generated code.
Audit Metadata