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
.docxfiles, 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
pandocinSKILL.mdand direct XML parsing inscripts/document.pyandooxml/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
defusedxmllibrary 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.runto callsoffice(LibreOffice) for conversion-based validation inooxml/scripts/pack.pyandgitfor character-level diff generation inooxml/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.mdmentionsapt-get install pandoc,npm install -g docx, andpip 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
sudoin theDependenciessection ofSKILL.mdfor package installation. - Context: This is routine for installing system-level packages on Linux systems.
Audit Metadata