xlsx
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
recalc.pyscript usessubprocess.runto execute thesoffice(LibreOffice) binary. This is used to recalculate Excel formulas in headless mode. The command is constructed as a list, which is a security best practice to prevent shell injection. - [PERSISTENCE]: The
recalc.pyscript creates a LibreOffice macro file (Module1.xba) in the user's configuration directory (~/.config/libreofficeor~/Library/Application Support/LibreOffice). This macro remains on the system across sessions to facilitate theRecalculateAndSavefunction. This is a legitimate functional requirement for the skill's purpose. - [DYNAMIC_EXECUTION]: The script generates executable Basic macro content at runtime and saves it to a file, which is then invoked by LibreOffice. This is used specifically to trigger the internal
calculateAll()andstore()methods of a spreadsheet document. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted external data from Excel, CSV, and TSV files.
- Ingestion points: Data enters the agent context via
pandas.read_excelandopenpyxl.load_workbookas described inSKILL.md. - Boundary markers: The instructions do not specify strict delimiters for external data, though they emphasize the use of formulas over hardcoded values.
- Capability inventory: The skill has the ability to write files (
wb.save), execute system commands viarecalc.py, and modify LibreOffice configurations. - Sanitization: There is no explicit sanitization of cell content before processing, which is standard for data analysis tools but constitutes a potential surface for indirect injection if data contains malicious instructions.
Audit Metadata