docx

Pass

Audited by Gen Agent Trust Hub on Nov 12, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided .docx files, which serves as an ingestion point for untrusted data. Instructions embedded within these documents could potentially influence agent behavior if not correctly handled by the underlying LLM.
  • Ingestion points: Content extraction occurs via pandoc in SKILL.md and direct XML parsing in scripts/document.py and ooxml/scripts/.
  • Boundary markers: No explicit boundary markers or instruction isolation techniques are defined in the skill's operational steps.
  • Capability inventory: Includes the ability to run system commands (soffice, git) and manage local files.
  • Sanitization: Employs the defusedxml library for XML parsing in core components to prevent XML External Entity (XXE) attacks.
  • [COMMAND_EXECUTION]: The skill invokes external system utilities to validate document structure and compare changes.
  • Evidence: Uses subprocess.run to call soffice (LibreOffice) for conversion-based validation in ooxml/scripts/pack.py and git for character-level diff generation in ooxml/scripts/validation/redlining.py.
  • Context: These calls use list-based arguments with controlled parameters, which effectively mitigates shell injection risks.
  • [EXTERNAL_DOWNLOADS]: Setup instructions in the documentation guide users to install verified third-party dependencies.
  • Evidence: SKILL.md mentions apt-get install pandoc, npm install -g docx, and pip install defusedxml.
  • Context: These are standard package installations from well-known registries required for the skill to function.
  • [PRIVILEGE_ESCALATION]: Documentation includes setup steps that involve root permissions.
  • Evidence: Mentions of sudo in the Dependencies section of SKILL.md for package installation.
  • Context: This is routine for installing system-level packages on Linux systems.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 12, 2026, 11:33 PM