markitdown
Pass
Audited by Gen Agent Trust Hub on Jul 12, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The
SKILL.mdfile contains instructions that attempt to steer agent behavior. Specifically, it directs the agent to "always consider adding scientific diagrams" and states that they "should be generated by default" for new documents. This steers the agent to execute thescripts/generate_schematic.pytool without explicit user prompting. - [COMMAND_EXECUTION]: The script
scripts/generate_schematic.pyusessubprocess.run()to execute a secondary Python script within the project (scripts/generate_schematic_ai.py). While the execution is handled safely (using a list of arguments without a shell), it facilitates the processing of user-provided descriptions through automated tool chains. - [EXTERNAL_DOWNLOADS]: The documentation encourages installing the
markitdownpackage from Microsoft's official GitHub repository or PyPI, as well as therequestslibrary. These are standard practices using well-known services and trusted vendors. - [DATA_EXPOSURE_AND_EXFILTRATION]: (Indirect Prompt Injection Analysis). The skill's primary function is to ingest and convert untrusted external files (PDF, Word, Excel, etc.) into Markdown. This text is then processed by the agent, creating a risk surface where malicious instructions embedded in documents could influence agent behavior.
- Ingestion points: Files are read and converted in
scripts/batch_convert.py,scripts/convert_literature.py, andscripts/convert_with_ai.pyusing themarkitdownlibrary. - Boundary markers: No explicit delimiters or boundary markers are used when presenting converted content to the agent.
- Capability inventory: The skill has access to file writing and network operations (OpenRouter API).
- Sanitization: No evidence of sanitization or escaping is present for the Markdown output derived from untrusted source files.
Audit Metadata