bmad-eval-runner
Warn
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
scripts/run_evals.pyandscripts/run_triggers.pyusesubprocess.runto execute platform-specific commands based on a template provided in the adapter configuration (e.g.,assets/adapter-claude-code.json). These commands incorporate user-provided inputs via string replacement. - [PRIVILEGE_ESCALATION]: The default configuration in
assets/adapter-claude-code.jsonincludes the--dangerously-skip-permissionsflag for theclaudeCLI. This flag is used to bypass interactive security and permission prompts during headless execution, effectively overriding platform-level access controls. - [DYNAMIC_EXECUTION]: The skill features a self-improvement loop documented in
references/self-improvement.mdthat autonomously generates and applies modifications to skill files, then re-executes the modified code to verify improvements. This involves dynamic generation and execution of local script content. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data in the form of skills and eval cases under test. It is vulnerable to indirect injection because its core functionality involves ingesting these inputs and performing powerful actions like command execution and file modification based on the results.
- [INDIRECT_PROMPT_INJECTION] Ingestion points: The scripts
scripts/run_evals.pyandscripts/run_triggers.pyload skill instruction files and JSON-formatted evaluation cases. - [INDIRECT_PROMPT_INJECTION] Boundary markers: The skill uses basic string interpolation for prompts with minimal boundary separation such as the bracketed state_prefix format.
- [INDIRECT_PROMPT_INJECTION] Capability inventory: The skill has access to
subprocess.runfor system command execution andPath.write_textfor modifying local files during the improvement loop. - [INDIRECT_PROMPT_INJECTION] Sanitization: There is no evidence of escaping or strict validation for external content before it is interpolated into command templates or used in decision-making loops.
Audit Metadata