xlsx

Warn

Audited by Gen Agent Trust Hub on Nov 2, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The script scripts/office/soffice.py dynamically generates and compiles a C source shim at runtime using gcc. It then uses the LD_PRELOAD environment variable to inject this compiled object into the LibreOffice (soffice) process. This mechanism is designed to handle environments where Unix domain sockets (AF_UNIX) are restricted. Additionally, scripts/recalc.py dynamically generates and installs a LibreOffice macro (StarBasic) to perform the recalculation of Excel formulas.
  • [COMMAND_EXECUTION]: Several utility scripts execute external binaries to perform recalculation and validation tasks. scripts/office/soffice.py and scripts/recalc.py invoke the soffice binary for headless document processing and gcc for shim compilation. scripts/office/validators/redlining.py invokes git diff to compare text content between document versions.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external Excel workbooks, creating a surface for indirect prompt injection.
  • Ingestion points: External .xlsx and .xlsm files enter the agent context via openpyxl.load_workbook and pandas.read_excel as described in SKILL.md and utilized in scripts/recalc.py.
  • Boundary markers: None. The scripts do not explicitly delimit cell data or warn the agent to ignore instructions embedded within the spreadsheet content.
  • Capability inventory: The skill has the capability to write to the file system, execute shell commands, and perform runtime code compilation and injection.
  • Sanitization: While the skill uses defusedxml for safe XML parsing to prevent XXE attacks, it does not implement sanitization or filtering of the actual content within the spreadsheet cells before processing.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 2, 2026, 09:01 AM