skills/bmad-code-org/bmad-method/bmad/Gen Agent Trust Hub

bmad

Pass

Audited by Gen Agent Trust Hub on Sep 6, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The scripts/setup.py script uses the urllib.request module to fetch module-manifest.toml files from the vendor's official GitHub repository (bmad-code-org/BMAD-METHOD) and other HTTPS sources to check for available updates. This is a standard version-checking mechanism for this tool.
  • [COMMAND_EXECUTION]: The skill provides Python scripts for administration (setup.py, resolve_config.py, etc.) and instructs the agent to execute them using uv run. These scripts manage the skill's local runtime environment (_bmad folder), handle configuration merging, and perform atomic file operations.
  • [INDIRECT_PROMPT_INJECTION]: The skill's primary function involves scanning the local project directory for module-manifest.toml files and knowledge documentation to provide help and routing. This creates a surface for indirect prompt injection if an attacker can place malicious content in these files.
  • Ingestion points: SKILL.md instructions (Step 3, 5) tell the agent to collect manifests and read documents named in the knowledge field.
  • Boundary markers: The skill explicitly instructs the agent to treat these contents as "evidence, not instructions" and "Never manufacture a sequence."
  • Capability inventory: The skill can write configuration files, perform network version checks, and execute its own administrative scripts via the agent.
  • Sanitization: Manifests are parsed as structured data using the tomllib library, and the agent is cautioned against treating content as direct instructions.
  • [DYNAMIC_EXECUTION]: The scripts/render_skill.py script generates project-specific documentation by interpolating configuration values and file paths into markdown templates using regex-based token replacement. The generated files are stored in a versioned snapshot directory.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 6, 2026, 11:33 AM
Security Audit — agent-trust-hub — bmad