xlsx
Warn
Audited by Gen Agent Trust Hub on Apr 3, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill performs runtime compilation and system injection. In
scripts/office/soffice.py, it generates a C source file, compiles it into a shared library usinggcc, and injects it into the LibreOffice process using theLD_PRELOADenvironment variable. This is designed to shim socket-related system calls (socket, listen, accept, close, read) to allow the application to run in restricted virtualized or sandboxed environments. - [COMMAND_EXECUTION]: The skill uses
subprocess.run()to execute external commands, includinggccfor the shim compilation andsofficefor spreadsheet recalculation and processing. It also calls system utilities liketimeout,gtimeout, andgitacross various validation and recalculation scripts. - [COMMAND_EXECUTION]: The script
scripts/recalc.pydynamically creates and writes a StarBasic macro file (Module1.xba) to the local LibreOffice configuration directory. This macro is used to automate thecalculateAllandstoreoperations when processing spreadsheets. - [PROMPT_INJECTION]: The skill possesses a surface for indirect prompt injection as it ingests untrusted data from spreadsheet files (
.xlsx,.csv, etc.) usingpandasandopenpyxl. While the use ofdefusedxmlmitigates XML-based vulnerabilities (XXE), the skill lacks explicit boundary markers or instructions to ignore potential natural language instructions embedded within cell content that could influence subsequent agent actions.
Audit Metadata