xlsx
Warn
Audited by Gen Agent Trust Hub on Nov 14, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The module
scripts/office/soffice.pygenerates a C source file (lo_socket_shim.c) in a temporary directory and compiles it into a shared library usinggcc. This library is then loaded using theLD_PRELOADenvironment variable to intercept socket-related system calls, enabling LibreOffice to function in restricted sandbox environments where standard Unix sockets are blocked. - [DYNAMIC_EXECUTION]: The script
scripts/recalc.pyautomatically writes a StarBasic macro to the user's local LibreOffice configuration directory (Module1.xba). This macro is used to programmatically trigger formula recalculation and save operations. - [COMMAND_EXECUTION]: The skill utilizes
subprocess.runto execute various system commands, includingsofficefor spreadsheet processing,gccfor shim compilation, andgitfor performing document diffing during validation steps. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted spreadsheet data (XLSX, CSV) and has access to powerful tools like command execution. While it implements security best practices like
defusedxmlto prevent XML-based attacks, it lacks explicit boundary delimiters to prevent malicious instructions embedded in user-provided spreadsheets from being interpreted as agent commands. - Ingestion points:
pd.read_excelandload_workbookcalls inSKILL.mdand supporting scripts. - Boundary markers: Absent in instructions for processing external content.
- Capability inventory:
subprocess.runcalls inrecalc.pyandsoffice.py, as well as extensive file-write capabilities across theoffice/library. - Sanitization: Uses
defusedxmlto mitigate XML External Entity (XXE) vulnerabilities during document parsing.
Audit Metadata