pptx
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pydynamically generates and executes code to facilitate LibreOffice operations in restricted environments. - It contains a C source code string (
_SHIM_SOURCE) designed to shim system-level socket calls. - The script executes
gccat runtime to compile this source into a shared object file (lo_socket_shim.so) in the system's temporary directory. - It utilizes the
LD_PRELOADenvironment variable to inject the compiled library into thesofficeprocess execution context. - [COMMAND_EXECUTION]: Several scripts within the skill utilize the
subprocessmodule to execute system commands for document processing and maintenance. scripts/office/soffice.pyinvokesgccfor compilation andsofficefor document conversion.scripts/thumbnail.pyexecutespdftoppm(part of the Poppler suite) to generate image previews from PDF versions of slides.scripts/office/validators/redlining.pyusesgit diffto compare text content and identify edits that have not been properly tracked.- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted PowerPoint files which are parsed as structured XML, creating a potential attack surface for indirect injection.
- Ingestion points: External content from
.pptxor.potxfiles is loaded and parsed inscripts/add_slide.py,scripts/clean.py, and the validation scripts. - Boundary markers: The skill does not employ clear delimiters or instructions to prevent the agent from inadvertently executing commands or following instructions embedded within slide content.
- Capability inventory: The skill environment permits shell command execution and runtime code compilation, which could be abused if an agent follows instructions found in malicious files.
- Sanitization: While the skill correctly uses
defusedxmlto mitigate standard XML-based exploits, the extracted text content is returned to the agent context without additional sanitization.
Audit Metadata