xlsx
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
recalc.pyutilizes thesubprocess.pymodule to execute system commands, specifically calling thesofficebinary (LibreOffice) and thetimeoutorgtimeoututilities to perform formula recalculation. - Evidence:
subprocess.run(['soffice', '--headless', '--terminate_after_init'], ...)andsubprocess.run(cmd, ...)inrecalc.py. - [DYNAMIC_EXECUTION]: The skill generates and writes a LibreOffice Basic macro (
Module1.xba) to the user's local application configuration directory (~/.config/libreofficeor~/Library/Application Support/LibreOffice) at runtime. This macro is then executed to automate the calculation and saving of workbooks. - Evidence: The
setup_libreoffice_macrofunction inrecalc.pydefines and writesmacro_contentto a local file system path. - [INDIRECT_PROMPT_INJECTION]: The skill provides the agent with the capability to read and analyze data from external Excel and CSV files. These files represent a potential attack surface where malicious instructions could be embedded to influence the agent's actions.
- Ingestion points:
pd.read_excel()andload_workbook()calls documented inSKILL.mdfor analyzing existing files. - Boundary markers: Absent. There are no instructions provided to the agent to treat embedded data as untrusted or to ignore instructions found within cell content.
- Capability inventory: The skill has the ability to write to the file system (via
pandasandopenpyxl) and execute shell commands (viarecalc.py). - Sanitization: No sanitization or validation logic is implemented for the data read from spreadsheets before it is processed by the agent.
Audit Metadata