xlsx

Fail

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: HIGHDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPERSISTENCE
Full Analysis
  • [DYNAMIC_EXECUTION]: The script scripts/office/soffice.py contains a hardcoded C source code string (_SHIM_SOURCE). At runtime, the skill writes this code to a temporary file and compiles it into a shared library using gcc. It then uses the LD_PRELOAD environment variable to inject this library into the LibreOffice (soffice) process to intercept and modify system-level socket calls. While this is used to fix functionality in specific environments, the capability to compile and inject arbitrary code is a high-risk pattern.
  • [COMMAND_EXECUTION]: The skill makes frequent use of subprocess.run to execute system commands. Key examples include:
  • Invoking gcc to compile shared libraries in scripts/office/soffice.py.
  • Running soffice (LibreOffice) for formula recalculation in scripts/recalc.py.
  • Executing git diff for document validation in scripts/office/validators/redlining.py.
  • [PERSISTENCE]: In scripts/recalc.py, the skill automatically installs a LibreOffice macro (RecalculateAndSave) into the user's application configuration directory (e.g., ~/.config/libreoffice/). This constitutes a modification of another application's environment and settings.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted Office documents while possessing significant system capabilities, creating a surface where malicious data could influence agent behavior.
  • Ingestion points: Data enters via scripts/office/unpack.py and spreadsheet libraries in scripts/recalc.py and SKILL.md.
  • Boundary markers: Absent. The skill lacks instructions to the agent to treat document content as untrusted data separate from system prompts.
  • Capability inventory: Includes shell command execution and library injection capabilities across multiple scripts.
  • Sanitization: Employs defusedxml for XML parsing to mitigate XXE, but does not provide logic to sanitize document content for prompt injection markers.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Sep 13, 2026, 10:38 AM