xlsx
Warn
Audited by Gen Agent Trust Hub on Jul 17, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/office/soffice.pyexecutesgccviasubprocess.runto compile a custom C shim into a shared library. This compilation occurs at runtime if the environment detects restricted socket access. - [COMMAND_EXECUTION]: Multiple scripts, including
recalc.pyandscripts/recalc.py, usesubprocess.runto call thesoffice(LibreOffice) binary to perform formula recalculations in spreadsheet files. - [COMMAND_EXECUTION]: The validation logic in
scripts/office/validators/redlining.pyexecutes thegitcommand viasubprocess.runto generate word-level diffs for document version comparison. - [REMOTE_CODE_EXECUTION]: In
scripts/office/soffice.py, the skill performs dynamic execution by compiling C source code and injecting the resulting shared object into the LibreOffice process using theLD_PRELOADenvironment variable. This technique is used to bypass sandbox restrictions on Unix sockets. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface as it ingests untrusted Office documents (Excel, Word, PowerPoint) and provides their content to the AI agent context. Maliciously crafted documents could contain hidden instructions designed to bypass agent constraints or influence its behavior during data processing.
Audit Metadata