docx
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill converts external documents into text or Markdown for the agent to process, creating a surface where document content could influence agent behavior. \n
- Ingestion points: Document content is read into the context after conversion by
pandocor being unpacked into XML viaooxml/scripts/unpack.py. \n - Boundary markers: Instructions do not mandate the use of delimiters or 'ignore embedded instructions' warnings when the agent reads document text. \n
- Capability inventory: The skill allows the agent to execute subprocesses (
soffice,git) and perform file system write operations. \n - Sanitization: There is no explicit sanitization of document content before it is presented to the agent. \n- [COMMAND_EXECUTION]: The skill relies on external utilities and performs archive manipulations that carry security risks. \n
- Subprocess execution: Scripts like
ooxml/scripts/pack.pyandooxml/scripts/validation/redlining.pyexecutesofficeandgit. While they use list-based arguments which mitigate shell injection, they are triggered by potentially untrusted document states. \n - Archive extraction risk:
ooxml/scripts/unpack.pyandooxml/scripts/validation/redlining.pyusezipfile.extractall()to extract content from.docxfiles. This operation is vulnerable to path traversal (ZipSlip) if a malicious document contains filenames with relative paths (e.g.,../../target), potentially allowing files to be written outside the intended workspace.
Audit Metadata