docx
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The processing of external document content represents an inherent attack surface for indirect prompt injection.
- Ingestion points: Content is ingested from external Word files via
ooxml/scripts/unpack.pyandpandocconversion. - Boundary markers: The instructions do not specify a system for delimiting document text from instructions to prevent accidental obedience.
- Capability inventory: The skill has access to file writing and command execution through
subprocess.run. - Sanitization: While the skill uses
defusedxmlto secure the XML structure, it does not sanitize the natural language content extracted from documents. - [COMMAND_EXECUTION]: The skill uses
subprocess.runto execute well-known system utilities. - Evidence:
ooxml/scripts/pack.pyinvokessofficefor conversion and validation, andooxml/scripts/validation/redlining.pyinvokesgitfor diffing. These operations use list-based argument passing which mitigates command injection risks. - [EXTERNAL_DOWNLOADS]: Instructions guide the installation of dependencies from well-known and trusted package registries.
- Evidence:
SKILL.mddocuments the installation ofpandoc,libreoffice, andpoppler-utilsvia apt, thedocxlibrary via npm, anddefusedxmlvia pip.
Audit Metadata