pptx

Warn

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The script scripts/office/soffice.py performs runtime code generation and process injection. It writes a C source file to the temporary directory, compiles it into a shared object (.so) using gcc, and then executes soffice with LD_PRELOAD set to the path of this compiled library. This technique is used to shim AF_UNIX socket calls to work around environment-specific networking restrictions.
  • [COMMAND_EXECUTION]: Multiple components execute external system binaries via the subprocess module:
  • scripts/office/soffice.py invokes gcc to compile the socket shim.
  • scripts/thumbnail.py and scripts/office/soffice.py invoke soffice (LibreOffice) and pdftoppm (Poppler) for file conversion.
  • scripts/office/validators/redlining.py invokes git diff to perform document comparisons.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted .pptx files, which serves as an attack surface for indirect injection.
  • Ingestion points: User-provided PowerPoint files are read by scripts/office/unpack.py and scripts/thumbnail.py (via LibreOffice).
  • Boundary markers: Absent. XML content from slides is extracted and provided to the agent or sub-agents without clear delimiters or warnings to ignore instructions embedded within the slide text.
  • Capability inventory: The skill has significant capabilities including filesystem write access, ZIP archive manipulation, and the ability to execute arbitrary shell commands via the pre-existing subprocess wrappers.
  • Sanitization: While defusedxml is used to prevent XML External Entity (XXE) attacks, there is no semantic sanitization of the content extracted from slides.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 13, 2026, 10:38 AM