pptx
Warn
Audited by Gen Agent Trust Hub on Apr 28, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The helper script
scripts/office/soffice.pyperforms dynamic execution by compiling a C shim library at runtime and injecting it into the LibreOffice process. - Evidence: The script contains a embedded C source string (
_SHIM_SOURCE) that is written to a temporary file, compiled withgcc -shared -fPIC, and loaded via theLD_PRELOADenvironment variable to intercept and modify system calls related to networking and socket operations. - [COMMAND_EXECUTION]: Several scripts utilize
subprocess.runto execute system utilities and compilers: scripts/office/soffice.pyexecutesgccto build the socket shim library.scripts/thumbnail.pyexecutessoffice(LibreOffice) to convert presentations to PDF andpdftoppmto generate slide thumbnails.scripts/office/validators/redlining.pyexecutesgit diffto perform document comparisons during validation.- [PROMPT_INJECTION]: The skill exposes an indirect prompt injection surface by processing untrusted PowerPoint files.
- Ingestion points: Data from external
.pptxfiles is ingested viascripts/office/unpack.pyandscripts/thumbnail.py. - Boundary markers: Absent. The scripts do not use delimiters or instructions to prevent the agent from following commands embedded in the slide content.
- Capability inventory: The skill can execute shell commands, compile code, write to the file system, and utilize network-capable tools like LibreOffice.
- Sanitization: The skill uses
defusedxmlto mitigate XML-specific attacks (like XXE), but does not sanitize extracted text content against adversarial AI instructions. - [EXTERNAL_DOWNLOADS]: The skill documentation and dependency list include several well-known third-party packages and system services:
- Python packages:
markitdownandPillow. - Node.js packages:
pptxgenjs,react-icons,react,react-dom, andsharp. - System dependencies: LibreOffice and Poppler.
Audit Metadata