markitdown
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and convert untrusted external documents (including PDF, Word, Excel, and HTML) which are known vectors for indirect prompt injection attacks where malicious instructions are embedded in the data.\n
- Ingestion points: Data enters the agent context via
MarkItDown.convert_local(),convert_stream(),convert_uri(), andconvert_response()methods.\n - Boundary markers: The skill's security documentation (
references/security.md) advises users to explicitly label converted content as untrusted source material and separate it from system instructions.\n - Capability inventory: The associated Python scripts (
batch_convert.py,convert_literature.py) have filesystem write access to save converted files. The core library can perform network operations to external AI and transcription services.\n - Sanitization: The documentation recommends sanitizing active HTML and dangerous links before using the generated Markdown in downstream systems like RAG pipelines.\n- [COMMAND_EXECUTION]: The skill includes several administrative scripts (
batch_convert.py,convert_literature.py,inspect_installation.py) that perform local filesystem operations, version checks, and batch processing. These scripts use standard Python libraries (pathlib,argparse) and follow safe practices like atomic file writes, though they operate with the privileges of the executing user.\n- [EXTERNAL_DOWNLOADS]: The skill facilitates data transmission to well-known external services for specific document processing features:\n - Fetches metadata and transcripts from YouTube when processing YouTube URIs.\n
- Utilizes Google Web Speech (via the
SpeechRecognitionlibrary) for audio transcription.\n - Sends documents to Microsoft Azure Document Intelligence and Azure Content Understanding for cloud-based OCR and multimodal analysis.\n
- Transmits images to OpenAI-compatible vision models for generating textual descriptions.\n- [DYNAMIC_EXECUTION]: MarkItDown supports a plugin architecture allowing third-party Python code to be loaded via entry points. The documentation (
references/mcp_and_plugins.md) highlights that this expands the process's capabilities and provides a 'Plugin Trust Checklist' to mitigate the risk of executing malicious code.
Audit Metadata