mermaid
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands using the
Bashtool to validate and render diagrams. The commandmmdc -i <filename>.mmdrelies on a filename string generated by the agent based on user-supplied content. If the agent fails to sanitize the filename, it could potentially include shell metacharacters (e.g.,;,&,|) leading to arbitrary command execution. - Evidence:
SKILL.mdSteps 4 and 6 detail the execution ofmmdcin a bash environment. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection as it ingests untrusted user content to generate shell command arguments.
- Ingestion points: Natural language descriptions and source code provided by the user (as described in
SKILL.md, Step 1: "Understand the Request"). - Boundary markers: The instructions lack explicit boundary markers or warnings to ignore instructions embedded within user-provided content.
- Capability inventory: The skill utilizes the
Bashtool to execute themmdcutility. - Sanitization: While the skill suggests using "kebab-case" for filenames, it does not provide comprehensive sanitization logic to prevent command injection or path traversal when constructing shell commands.
Audit Metadata