xlsx
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
recalc.pyscript executes thesoffice(LibreOffice) binary usingsubprocess.runto perform headless formula recalculation. This is a functional requirement for updating spreadsheet values that libraries like openpyxl cannot calculate natively. The execution uses safe argument lists and avoids shell evaluation. - [DYNAMIC_EXECUTION]: The script
recalc.pydynamically generates a StarBasic macro (RecalculateAndSave) and writes it to a file at runtime. This macro is strictly limited to calling built-in LibreOffice functions to calculate and save the workbook. - [PERSISTENCE]: The
setup_libreoffice_macrofunction inrecalc.pywrites the required macro to the LibreOffice user configuration directory (e.g.,~/.config/libreoffice/...or~/Library/Application Support/...). While this persists the macro across sessions, it is scoped to the application configuration and necessary for the skill's headless operation. - [INDIRECT_PROMPT_INJECTION]: The skill represents an attack surface for indirect prompt injection as it is designed to ingest and process untrusted spreadsheet files (.xlsx, .csv, .tsv).
- Ingestion points: Processes external files using
pandas.read_excelandopenpyxl.load_workbook(documented inSKILL.md). - Boundary markers: No specific delimiters or instructions are provided to the agent to ignore potentially malicious content embedded within the spreadsheet data cells.
- Capability inventory: The skill possesses filesystem write access (saving workbooks) and command execution capabilities (via
recalc.py). - Sanitization: No explicit sanitization or validation of cell content is performed before processing.
Audit Metadata