docx
Warn
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: MEDIUMPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PRIVILEGE_ESCALATION]: Instructions in
SKILL.mdsuggest usingsudo apt-get installto set up dependencies likepandoc,libreoffice, andpoppler-utils. Commands involvingsudopose a security risk as they grant administrative privileges. - [PRIVILEGE_ESCALATION]: The scripts
ooxml/scripts/unpack.py,ooxml/scripts/validation/redlining.py, andooxml/scripts/validation/base.pyusezipfile.ZipFile.extractall()without validating extracted file paths. This makes the skill vulnerable to 'Zip Slip' attacks, where a malicious Office document can use directory traversal (e.g.,../../) to overwrite sensitive files outside the intended workspace. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted document content, creating a surface for indirect prompt injection.
- Ingestion points: Untrusted XML content from Office files is unpacked into the workspace by
ooxml/scripts/unpack.pyand read into the agent's context. - Boundary markers: Absent. There are no delimiters or instructions to ignore embedded commands when the agent reads the extracted data.
- Capability inventory: Shell command execution via
subprocess.run(invokingsofficeandgit) is used inooxml/scripts/pack.pyandooxml/scripts/validation/redlining.py, and the skill has extensive file system write access. - Sanitization: Absent. Content is processed without filtering for potential malicious instructions.
- [COMMAND_EXECUTION]: The skill invokes external binaries such as
sofficeandgitviasubprocess.runto perform document validation and version comparisons. While the use of list-based arguments reduces the risk of direct shell injection, these calls still represent execution of external system utilities triggered by document processing. - [EXTERNAL_DOWNLOADS]: The skill documentation suggests installing common third-party packages from official registries (e.g.,
npm install docx,pip install defusedxml). These are standard dependencies for the skill's primary functionality.
Audit Metadata