markitdown
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents the conversion of heterogeneous documents (PDF, Office, etc.) which represents a significant surface for indirect prompt injection.
- Ingestion points: Data enters the agent context through
convert_local(),convert_uri(), andconvert_stream()methods documented inSKILL.mdandreferences/api_reference.md. - Boundary markers: The skill explicitly advises in
references/security.mdto label converted output as untrusted source material and separate it from system instructions. - Capability inventory: The documented tool has capabilities for local file reads, disk writes (via conversion scripts), and network operations (Azure services, YouTube, audio transcription).
- Sanitization:
references/security.mdrecommends sanitizing active HTML and dangerous links before any rendering or use in a RAG pipeline. - [DYNAMIC_EXECUTION]: The MarkItDown utility supports a Python-based plugin system that allows loading arbitrary code via entry points.
- Evidence:
references/mcp_and_plugins.mddetails how plugins are loaded through themarkitdown.pluginentry-point group. - Mitigation: The skill provides a "Plugin Trust Checklist" and advises that plugins remain disabled by default (
enable_plugins=False). It further recommends running the tool in a sandbox or container when plugins are enabled. - [EXTERNAL_DOWNLOADS]: The skill references and downloads dependencies from trusted sources.
- Evidence: Instructions in
SKILL.mdandreferences/file_formats.mdguide the installation of themarkitdownpackage (from Microsoft) and its extras from PyPI. - Context: References include Microsoft's GitHub repositories for the core tool, OCR plugins, and MCP server, as well as Azure Cognitive Services endpoints for cloud-based extraction.
Audit Metadata