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: Invokessoffice(LibreOffice) in headless mode to convert documents to HTML for validation purposes. - Evidence in
ooxml/scripts/validation/redlining.py: Invokesgit diffwith--word-diffto 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: Theextractall()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 standardlxml.etree.parsemethod 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 ofpandoc,libreoffice, andpoppler-utils, and global installation of thedocxNode.js package. - [SAFE]: The skill incorporates the
defusedxmllibrary for its core editing and packing operations, which is a proactive security measure against XML-based attacks.
Audit Metadata