pptx
Warn
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/office/soffice.pyimplements a dynamic code generation and injection pattern. It defines an embedded C source string for a socket shim, writes it to a temporary file (lo_socket_shim.c), and executesgccto compile a shared object library. It then applies theLD_PRELOADenvironment variable to inject this library into thesofficebinary execution environment. While used for sandbox compatibility, this technique is a significant technical risk vector. - [PROMPT_INJECTION]: The skill has an indirect prompt injection surface. (1) Ingestion points: Untrusted slide content enters the agent context in
SKILL.mdvia themarkitdowncommand. (2) Boundary markers: No delimiters or warnings are present to distinguish file content from instructions. (3) Capability inventory: The skill has extensive shell execution capabilities viasubprocess.runcalls inscripts/thumbnail.pyandscripts/office/soffice.py. (4) Sanitization: External content is not sanitized before being processed by the agent. - [COMMAND_EXECUTION]: Several scripts utilize the
subprocessmodule to run external system binaries.scripts/thumbnail.pyexecutessofficeandpdftoppm, andscripts/office/validators/redlining.pyinvokesgit. These subprocess calls increase the vulnerability surface if user-controlled filenames or metadata are processed. - [EXTERNAL_DOWNLOADS]: The skill requires the installation of multiple third-party dependencies from public registries. These include Python packages like
markitdownandPillow, as well as Node.js packages includingpptxgenjs,react-icons, andsharp.
Audit Metadata