skills/blake-john/agent-config/xlsx/Gen Agent Trust Hub

xlsx

Warn

Audited by Gen Agent Trust Hub on Apr 3, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill performs runtime compilation and system injection. In scripts/office/soffice.py, it generates a C source file, compiles it into a shared library using gcc, and injects it into the LibreOffice process using the LD_PRELOAD environment variable. This is designed to shim socket-related system calls (socket, listen, accept, close, read) to allow the application to run in restricted virtualized or sandboxed environments.
  • [COMMAND_EXECUTION]: The skill uses subprocess.run() to execute external commands, including gcc for the shim compilation and soffice for spreadsheet recalculation and processing. It also calls system utilities like timeout, gtimeout, and git across various validation and recalculation scripts.
  • [COMMAND_EXECUTION]: The script scripts/recalc.py dynamically creates and writes a StarBasic macro file (Module1.xba) to the local LibreOffice configuration directory. This macro is used to automate the calculateAll and store operations when processing spreadsheets.
  • [PROMPT_INJECTION]: The skill possesses a surface for indirect prompt injection as it ingests untrusted data from spreadsheet files (.xlsx, .csv, etc.) using pandas and openpyxl. While the use of defusedxml mitigates XML-based vulnerabilities (XXE), the skill lacks explicit boundary markers or instructions to ignore potential natural language instructions embedded within cell content that could influence subsequent agent actions.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 3, 2026, 08:33 AM