xlsx

Pass

Audited by Gen Agent Trust Hub on Aug 11, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The script recalc.py uses subprocess.run to call soffice (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 the calculateAll() and store() operations within LibreOffice.
  • It uses the timeout (Linux) or gtimeout (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
Risk Level
SAFE
Analyzed
Aug 11, 2026, 05:52 PM
Security Audit — agent-trust-hub — xlsx