docx
Pass
Audited by Gen Agent Trust Hub on Mar 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [SAFE]
- XML parsing in
document.py,utilities.py,unpack.py, andpack.pyis performed using thedefusedxmllibrary, which provides protection against XML External Entity (XXE) attacks and other XML-based security issues. - No evidence of data exfiltration, hardcoded credentials, or unauthorized network activity was found in the provided scripts or documentation.
- [COMMAND_EXECUTION]
- The
pack.pyscript usessubprocess.runto invokesoffice(LibreOffice) for document validation and format conversion tasks. - The
redlining.pyscript usessubprocess.runto executegit difffor comparing document revisions during the redlining process. - Technical instructions in
SKILL.mdguide the use of system commands likepandocfor text extraction andpdftoppmfor visual document analysis. - [PROMPT_INJECTION]
- The skill's primary function involves converting Word documents into Markdown for analysis by the LLM. This introduces an indirect prompt injection surface where instructions contained within a document could potentially influence agent behavior. Best practices are recommended for the agent to treat this content strictly as data and ignore any embedded instructions.
Audit Metadata