skills/lee-huydev/awesome-skills/xlsx/Gen Agent Trust Hub

xlsx

Pass

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The recalc.py script executes the soffice (LibreOffice) binary using subprocess.run to perform headless formula recalculation. This is a functional requirement for updating spreadsheet values that libraries like openpyxl cannot calculate natively. The execution uses safe argument lists and avoids shell evaluation.
  • [DYNAMIC_EXECUTION]: The script recalc.py dynamically generates a StarBasic macro (RecalculateAndSave) and writes it to a file at runtime. This macro is strictly limited to calling built-in LibreOffice functions to calculate and save the workbook.
  • [PERSISTENCE]: The setup_libreoffice_macro function in recalc.py writes the required macro to the LibreOffice user configuration directory (e.g., ~/.config/libreoffice/... or ~/Library/Application Support/...). While this persists the macro across sessions, it is scoped to the application configuration and necessary for the skill's headless operation.
  • [INDIRECT_PROMPT_INJECTION]: The skill represents an attack surface for indirect prompt injection as it is designed to ingest and process untrusted spreadsheet files (.xlsx, .csv, .tsv).
  • Ingestion points: Processes external files using pandas.read_excel and openpyxl.load_workbook (documented in SKILL.md).
  • Boundary markers: No specific delimiters or instructions are provided to the agent to ignore potentially malicious content embedded within the spreadsheet data cells.
  • Capability inventory: The skill possesses filesystem write access (saving workbooks) and command execution capabilities (via recalc.py).
  • Sanitization: No explicit sanitization or validation of cell content is performed before processing.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 01:31 AM