docx-official
Pass
Audited by Gen Agent Trust Hub on Apr 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [SAFE]: The skill employs defensive programming by using the
defusedxmllibrary for XML parsing across its components, which prevents XML External Entity (XXE) attacks. The extraction process inooxml/scripts/unpack.pyincludes validation logic to protect against path traversal (ZipSlip). - [COMMAND_EXECUTION]: It invokes local system binaries
sofficeandgitfor document validation and text diffing respectively. These calls are executed with fixed argument lists and controlled paths, minimizing injection risk. - [EXTERNAL_DOWNLOADS]: All external dependencies, including
pandocand thedocxlibrary, are standard, well-known tools used according to their intended primary purpose. - [PROMPT_INJECTION]: The skill processes untrusted Word documents which could contain indirect prompt injections. Data enters the agent context through
pandocextraction or raw XML reading inscripts/document.py. While boundary markers for this content are minimal, the skill provides a capability inventory limited to its document editing library and local tool calls, with sanitization performed via secure XML parsers.
Audit Metadata