analyze-architecture

Warn

Audited by Gen Agent Trust Hub on Oct 23, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill executes external Python scripts (e.g., extract_tech_stack.py, validate_metrics.py) located in a different skill's directory (.claude/skills/bmad-commands/scripts/). These scripts are not included in the skill's own files, which prevents verification of their safety.
  • [COMMAND_EXECUTION]: The skill makes extensive use of shell commands including find, grep, cat, npx, and python to perform filesystem operations and tool execution.
  • [INDIRECT_PROMPT_INJECTION]: The workflow involves reading and processing a large volume of untrusted data from the local codebase without explicit boundary markers or sanitization, creating a surface for injection attacks embedded in source code or documentation.
  • Ingestion points: SKILL.md uses find, cat, and grep to read codebase files in almost every workflow step.
  • Boundary markers: No markers are defined to delimit untrusted codebase content from agent instructions.
  • Capability inventory: The skill can execute shell commands (find, grep, cat), run external python scripts, and use npx for tool execution.
  • Sanitization: No sanitization logic is present for the codebase data being processed.
  • [DATA_EXFILTRATION]: Step 8 specifically commands the agent to search for sensitive strings like AWS_SECRET and API_KEY. While intended for auditing, this behavior extracts sensitive credentials from the filesystem into the agent's memory and potentially its output.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 23, 2026, 02:20 PM