convert-word-to-md
Pass
Audited by Gen Agent Trust Hub on Jul 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses a local Python script
scripts/convert_word_to_md.pyto perform document conversion. This script includes a routine that deletes the destination directory usingshutil.rmtreeif it already exists, which could lead to data loss if an incorrect path is provided. - [COMMAND_EXECUTION]: The conversion script uses the standard
xml.etree.ElementTreemodule to parse XML content within.docxfiles. This module is not secure against maliciously constructed XML data (XXE), though the risk is localized to the parsing of the document structure. - [EXTERNAL_DOWNLOADS]: The documentation (
references/setup.md) provides instructions to download and install Python and themarkitdownpackage. These resources are fetched from official and well-known services such as Microsoft's GitHub/PyPI presence and official system package managers (winget, brew, apt-get). - [PROMPT_INJECTION]: The skill processes external, user-provided Word documents and converts them to Markdown for agent analysis, which is a vector for indirect prompt injection.
- Ingestion points: The skill reads
.docxfiles through thescripts/convert_word_to_md.pyscript. - Boundary markers: None. The agent is instructed to read the output Markdown directly without specific delimiters or instructions to ignore embedded commands.
- Capability inventory: The conversion script has local file system read/write access and the ability to delete directories.
- Sanitization: None. The script focuses on format conversion and does not filter the text content for potential injection attacks.
Audit Metadata