docx
Pass
Audited by Gen Agent Trust Hub on May 13, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: Indirect Prompt Injection Surface. The skill instructs the agent to analyze the contents of Word documents by converting them to Markdown using Pandoc and reading the full result. This exposes the agent to potentially malicious instructions embedded within user-provided documents.
- Ingestion points: Document text extraction via
pandocas described inSKILL.md. - Boundary markers: The instructions do not specify the use of delimiters or 'ignore' instructions when reading the extracted Markdown content.
- Capability inventory: The skill includes Python scripts (
pack.py,redlining.py,validate.py) that perform subprocess execution for document validation and comparison. - Sanitization: The skill mitigates common document-based threats by using
defusedxmlfor secure XML parsing andhtml.escapefor author metadata processing. - [COMMAND_EXECUTION]: The skill uses
subprocess.runto execute well-known tools includingsoffice(LibreOffice),git, andpdftoppmfor document conversion, differencing, and imaging. These calls use the list-based argument format withoutshell=True, which is a safe practice that prevents shell injection. - [SAFE]: The skill follows security best practices for handling Office Open XML (OOXML) files, specifically using specialized XML parsers designed to prevent XML External Entity (XXE) vulnerabilities.
Audit Metadata