cre-excel-underwriting

Pass

Audited by Gen Agent Trust Hub on Oct 10, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONPERSISTENCE
Full Analysis
  • [COMMAND_EXECUTION]: The verify_model.py script uses subprocess.run to invoke the soffice (LibreOffice) executable. This is used to perform a hard recalculation of the generated Excel workbook, ensuring that all formula-driven values are accurately cached before comparison with the Python engine's reference results.
  • [DYNAMIC_EXECUTION]: To facilitate the recalculation in LibreOffice, verify_model.py dynamically generates a Basic macro (Recalc.xba) and associated library metadata (script.xlb). This macro is then executed via the command line to automate the opening, calculation, and saving of the workbook. The macro logic is static and purpose-built for the verification task.
  • [INDIRECT_PROMPT_INJECTION]: The skill represents an attack surface for indirect prompt injection as it is designed to process external data, including user-supplied JSON assumptions and Excel workbooks from third parties (e.g., brokers or sellers). The audit_model.py script scans these workbooks for structural defects, which provides some oversight, but the skill relies on the agent's core safety layers when interpreting the data content.
  • [PERSISTENCE]: The verify_model.py script writes macro files to the local LibreOffice application profile directory. These modifications remain in the application's configuration after the script completes, which is necessary for the macro-based recalculation workflow but represents a localized modification of the application environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 10, 2026, 03:06 AM