xlsx
Pass
Audited by Gen Agent Trust Hub on Nov 7, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- Dynamic Execution and Library Injection: The module
scripts/office/soffice.pycontains a C source code string that is written to a temporary file and compiled at runtime usinggcc. The resulting shared object is then loaded into thesoffice(LibreOffice) process via theLD_PRELOADenvironment variable. This pattern is used to shim socket behavior for IPC in restricted environments, but runtime compilation and library injection are advanced techniques that warrant review. - Command Execution: The skill invokes several external command-line tools via
subprocess.run(). This includesgccfor compilation,sofficefor spreadsheet recalculation, andgit difffor comparing document versions. While these tools are necessary for the skill's primary tasks, such direct command execution interacts closely with the host operating system. - Indirect Prompt Injection Surface: The skill processes user-supplied Office documents (XLSX, DOCX, PPTX) and parses their internal XML components using libraries like
lxml. Inscripts/office/validators/base.py, external XML files are ingested for validation. This ingestion point, combined with capabilities like system command execution, creates a potential surface for indirect prompt injection if malicious instructions are embedded within the processed document metadata or content.
Audit Metadata