xlsx

Warn

Audited by Gen Agent Trust Hub on Nov 20, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The script scripts/office/soffice.py contains a hardcoded C source string (_SHIM_SOURCE) that is written to a temporary file and compiled into a shared object (.so) using gcc at runtime. This library is then injected into the LibreOffice process using the LD_PRELOAD environment variable to intercept and shim standard socket system calls.
  • [INDIRECT_PROMPT_INJECTION]: The skill facilitates the processing of untrusted Excel files via pandas, openpyxl, and automated recalculation scripts.
  • Ingestion points: Files are read using pandas.read_excel and openpyxl.load_workbook (SKILL.md), and raw XML components are processed in scripts/recalc.py.
  • Boundary markers: None identified in instructions for separating user data from system instructions.
  • Capability inventory: The skill executes shell commands via subprocess.run to invoke LibreOffice, gcc, and gtimeout (scripts/office/soffice.py and scripts/recalc.py).
  • Sanitization: The skill employs defusedxml for XML parsing in multiple validation and recalculation scripts to mitigate common XML vulnerabilities.
  • [COMMAND_EXECUTION]: The skill makes several calls to the shell to perform its tasks:
  • scripts/office/soffice.py executes gcc to compile the socket shim.
  • scripts/office/soffice.py executes soffice (LibreOffice) for workbook processing.
  • scripts/recalc.py executes gtimeout or timeout to manage LibreOffice execution times.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 20, 2026, 07:07 AM