markitdown

Warn

Audited by Gen Agent Trust Hub on Apr 12, 2026

Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [PROMPT_INJECTION]: The skill instructions in SKILL.md attempt to override the agent's default behavior and autonomy by stating that "Scientific schematics should be generated by default" for new documents. This directive forces the agent to execute secondary scripts and perform external API calls regardless of the user's specific request.
  • [PROMPT_INJECTION]: The skill is highly vulnerable to indirect prompt injection because it processes untrusted documents (PDF, DOCX, XLSX, etc.) and converts them to plain Markdown for agent consumption without any safety boundaries.
  • Ingestion points: Files processed via markitdown.convert() in scripts/batch_convert.py, scripts/convert_literature.py, and scripts/convert_with_ai.py.
  • Boundary markers: Absent. The skill does not wrap converted content in delimiters or provide instructions to the agent to ignore embedded commands within the converted text.
  • Capability inventory: The skill has access to the Bash tool and performs shell-equivalent operations via subprocess.run in scripts/generate_schematic.py.
  • Sanitization: None. Converted content is passed directly to the agent's context without filtering for instructional patterns.
  • [COMMAND_EXECUTION]: The script scripts/generate_schematic.py uses subprocess.run to execute a helper script (scripts/generate_schematic_ai.py). While it avoids shell injection by using an argument list, it passes user-controlled prompts directly into the execution pipeline.
  • [PROMPT_INJECTION]: The skill metadata and scripts reference non-existent or deceptive AI model names (e.g., "Gemini 3.1 Pro Preview") and internal tool names ("Nano Banana Pro"), which can mislead the agent or user regarding the skill's actual technical capabilities and dependencies.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 12, 2026, 06:51 PM