pptx

Warn

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The script scripts/office/soffice.py performs runtime compilation and process injection.
  • It writes a C source code shim (embedded in the script) to a temporary directory.
  • It executes gcc to compile this source into a shared object file (lo_socket_shim.so).
  • It uses the LD_PRELOAD environment variable to load this library into the soffice (LibreOffice) process, shimming socket-related system calls to bypass AF_UNIX restrictions in restricted environments. While this is tailored for the skill's core functionality, runtime compilation and injection techniques are high-risk patterns.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from .pptx and .potx files, creating a vulnerability surface.
  • Ingestion points: Files are parsed and extracted in scripts/thumbnail.py, scripts/add_slide.py, and scripts/office/validate.py using zipfile and defusedxml.
  • Boundary markers: There are no boundary markers or specific instructions for the agent to ignore potentially adversarial instructions embedded within the text of slides when reading content.
  • Capability inventory: The skill possesses the ability to execute shell commands via subprocess.run (across multiple scripts) and perform file system writes (found in scripts/add_slide.py and scripts/office/helpers/__init__.py).
  • Sanitization: While the skill uses defusedxml to mitigate standard XML attacks like XXE, it does not sanitize the text content extracted from slides before presenting it to the agent's context.
  • [COMMAND_EXECUTION]: The skill makes extensive use of the subprocess module to execute CLI tools including soffice (LibreOffice), pdftoppm (Poppler), git (for diffing), and gcc. These capabilities are used for presentation rendering, conversion, and validation but represent a significant execution surface.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 28, 2026, 09:46 AM