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.pyperforms runtime compilation and process injection. - It writes a C source code shim (embedded in the script) to a temporary directory.
- It executes
gccto compile this source into a shared object file (lo_socket_shim.so). - It uses the
LD_PRELOADenvironment variable to load this library into thesoffice(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
.pptxand.potxfiles, creating a vulnerability surface. - Ingestion points: Files are parsed and extracted in
scripts/thumbnail.py,scripts/add_slide.py, andscripts/office/validate.pyusingzipfileanddefusedxml. - 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 inscripts/add_slide.pyandscripts/office/helpers/__init__.py). - Sanitization: While the skill uses
defusedxmlto 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
subprocessmodule to execute CLI tools includingsoffice(LibreOffice),pdftoppm(Poppler),git(for diffing), andgcc. These capabilities are used for presentation rendering, conversion, and validation but represent a significant execution surface.
Audit Metadata