xlsx
Warn
Audited by Gen Agent Trust Hub on Aug 20, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pyperforms runtime compilation of C source code into a shared object usinggcc. This library is then injected into the LibreOffice process using theLD_PRELOADenvironment variable. This technique allows for arbitrary code execution and the modification of system-level function calls. - [PERSISTENCE_MECHANISMS]: The script
scripts/recalc.pywrites a StarBasic macro to the LibreOffice user configuration directory (~/.config/libreoffice/4/user/basic/Standard/). This macro remains in the user profile across sessions and is executed by LibreOffice to perform recalculations. - [COMMAND_EXECUTION]: The skill uses
subprocess.runacross multiple scripts to execute external system tools including LibreOffice (soffice), the GCC compiler (gcc), and Git (git). - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted Excel and Office files, creating an indirect prompt injection surface.
- Ingestion points: Office XML components are parsed in
scripts/office/unpack.py, and Excel files are loaded inscripts/recalc.py. - Boundary markers: Content is processed without specific delimiters or instructions for the agent to ignore embedded instructions.
- Capability inventory: The skill has the ability to execute shell commands and compile/load system libraries.
- Sanitization: Standard XML security measures are applied using the
defusedxmllibrary.
Audit Metadata