pptx
Warn
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pycontains a sophisticated shimming mechanism. It generates a C source file at runtime, compiles it into a shared object usinggcc, and then injects it into the LibreOffice process via theLD_PRELOADenvironment variable. This is used to intercept and redirect network-related system calls to circumvent sandbox restrictions. - [COMMAND_EXECUTION]: Multiple scripts invoke system binaries using the
subprocessmodule.scripts/office/soffice.pyexecutesgccfor building the library shim;scripts/thumbnail.pyexecutespdftoppmto generate slide thumbnails; andscripts/office/validators/redlining.pyexecutesgit diffto compare text content across document versions. - [INDIRECT_PROMPT_INJECTION]: The skill processes potentially untrusted PowerPoint files, which creates an attack surface for indirect prompt injection.
- Ingestion points: Natural language text is extracted from slides using the
markitdowntool as described inSKILL.md. - Boundary markers: The skill uses
<!-- Slide number: N -->markdown comments to separate content blocks. - Capability inventory: Scripts in the skill can execute arbitrary system commands via
subprocess.run(e.g.,soffice,pdftoppm). - Sanitization: While the skill uses
defusedxmlto prevent XML-based attacks, it does not apply specific sanitization or filtering to the natural language content extracted from presentation slides before it enters the agent's context. - [SAFE]: The skill follows several security best practices, such as using the
defusedxmllibrary inscripts/clean.pyandscripts/office/validators/base.pyto mitigate XML External Entity (XXE) risks. Additionally, thesafe_extractutility inscripts/office/helpers/__init__.pyprovides protection against path traversal (ZipSlip) vulnerabilities during file extraction.
Audit Metadata