docx
Pass
Audited by Gen Agent Trust Hub on May 9, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted document content which could contain malicious instructions designed to influence agent behavior (indirect prompt injection).
- Ingestion points:
ooxml/scripts/unpack.pyandscripts/document.pyextract and parse XML content from user-supplied .docx files. - Boundary markers: The skill does not implement delimiters or specific instructions to ignore embedded commands within the extracted document text.
- Capability inventory: The skill ships with scripts that can execute system commands (
sofficeandgit) to validate or compare documents. - Sanitization: The skill employs the
defusedxmllibrary in its main editing utilities to prevent XML-based attacks such as XML External Entity (XXE) injection, although some validation scripts use standard libraryxml.etree.ElementTreeorlxmlwhich are less secure by default. - [COMMAND_EXECUTION]: The skill code spawns subprocesses to interact with system-level document tools.
- Evidence:
ooxml/scripts/pack.pyinvokessoffice(LibreOffice) to validate the integrity of repacked Office files. - Evidence:
ooxml/scripts/validation/redlining.pyinvokesgit diffto perform word-level comparisons between document versions.
Audit Metadata