docx

Pass

Audited by Gen Agent Trust Hub on Aug 6, 2026

Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes external system utilities to facilitate document conversion and comparison.
  • Evidence in ooxml/scripts/pack.py: Invokes soffice (LibreOffice) in headless mode to convert documents to HTML for validation purposes.
  • Evidence in ooxml/scripts/validation/redlining.py: Invokes git diff with --word-diff to calculate precise character-level differences between document versions.
  • Both implementations use list-based arguments for subprocess.run, which effectively prevents shell injection vulnerabilities.
  • [DATA_EXFILTRATION]: Potential for unauthorized file access or data exposure through path traversal and standard XML processing in validation scripts.
  • Evidence in ooxml/scripts/unpack.py: The extractall() method is used on untrusted ZIP archives (.docx files) without validating member paths. This could theoretically allow a "Zip Slip" attack where files are written outside the intended directory if a malicious document is processed.
  • Evidence in ooxml/scripts/validation/base.py: Uses the standard lxml.etree.parse method on XML files extracted from the document. Without explicit security configuration (such as disabling entities), this part of the validator could be susceptible to XXE if a malicious document is analyzed.
  • [EXTERNAL_DOWNLOADS]: User instructions include commands to install external system dependencies and packages.
  • Evidence in SKILL.md: Recommends system-level installation of pandoc, libreoffice, and poppler-utils, and global installation of the docx Node.js package.
  • [SAFE]: The skill incorporates the defusedxml library for its core editing and packing operations, which is a proactive security measure against XML-based attacks.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 6, 2026, 08:43 AM