docx
Warn
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
subprocessmodule to execute system binaries for document processing. - In
scripts/office/soffice.py, it writes a C source file to a temporary directory and compiles it into a shared library (.so) usinggcc. This library is then injected into the LibreOffice process using theLD_PRELOADenvironment variable to shim socket functions. - In
scripts/accept_changes.py, it executessofficeto automate document edits. - In
scripts/office/validators/redlining.py, it executesgitto perform word-level diffing between versioned documents. - [PROMPT_INJECTION]: The skill ingests untrusted content from user-supplied Word documents, creating a surface for indirect prompt injection.
- Data is extracted using
pandocor by unpacking document XML. - There is a risk that instructions embedded in document text or metadata could be misinterpreted as commands by the agent, especially given the skill's extensive file and command execution capabilities.
Audit Metadata