bmad-excalidraw
Warn
Audited by Gen Agent Trust Hub on Apr 13, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The instructions in
diagram-generation.mddirect the agent to execute shell commands (e.g.,python3 scripts/generate_excalidraw.py --spec '<json-spec>' --output '.../{filename}.excalidraw') where the arguments are derived directly from user input. If a user provides a diagram title or content containing shell metacharacters like single quotes, they could potentially break out of the command string and execute arbitrary shell commands on the system. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it processes untrusted user descriptions to generate diagram specifications without sufficient safeguards.
- Ingestion points: User descriptions and intent detection in
SKILL.mdandguided-design.md. - Boundary markers: None. The agent is not instructed to use delimiters or ignore instructions embedded within the user's diagram description.
- Capability inventory: The skill has the capability to write files to the local filesystem and execute shell commands using the
scripts/generate_excalidraw.pyandscripts/validate_excalidraw.pyscripts (referenced indiagram-generation.md). - Sanitization: There is no mention of sanitizing or escaping the
<json-spec>or the{filename}before they are interpolated into the shell commands.
Audit Metadata