xlsx
Pass
Audited by Gen Agent Trust Hub on Aug 11, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
recalc.pyusessubprocess.runto callsoffice(LibreOffice) for spreadsheet recalculation. - The script identifies the operating system (Linux or macOS) to determine the appropriate path for LibreOffice configuration files (~/.config/libreoffice or ~/Library/Application Support/LibreOffice).
- It writes a StarBasic macro (
Module1.xba) to the local filesystem to automate thecalculateAll()andstore()operations within LibreOffice. - It uses the
timeout(Linux) orgtimeout(macOS) command to wrap the LibreOffice execution, ensuring the process does not hang. - These operations are contained within the intended functionality of formula recalculation which standard libraries like openpyxl cannot perform natively.
Audit Metadata