pptx
Warn
Audited by Gen Agent Trust Hub on Nov 7, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONING
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pygenerates and compiles C source code (lo_socket_shim.c) at runtime usinggcc. The resulting shared object is then injected into the LibreOffice process via theLD_PRELOADenvironment variable. - Evidence: Found in
scripts/office/soffice.pywithin the_ensure_shimfunction, which executessubprocess.run(['gcc', '-shared', '-fPIC', ...]). - Intent: The code contains detailed documentation explaining that this shim is necessary to bypass AF_UNIX socket restrictions in sandboxed environments, and it uses
tempfile.mkdtemp(0700 permissions) to prevent local privilege escalation or pre-planting attacks. - [COMMAND_EXECUTION]: Multiple scripts execute external system binaries to fulfill the skill's functionality.
- Evidence:
scripts/thumbnail.pyandscripts/office/soffice.pyusesubprocess.runto callpdftoppm(for image conversion),gcc(for compilation), andsoffice(LibreOffice). - Evidence:
scripts/office/validators/redlining.pycalls the systemgitbinary to perform word-level diffing between document versions. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user-supplied
.pptxand.potxfiles and exposes a significant attack surface to indirect prompt injection through subsequent processing. - Ingestion points: Untrusted slide content enters the agent context via
markitdownextraction inSKILL.md. - Boundary markers: Uses
<!-- Slide number: N -->markers to separate slide content. - Capability inventory: The skill has high-privilege capabilities including arbitrary file system writes (
zipfile), subprocess execution (soffice,gcc,git), and dynamic library injection. - Sanitization: Employs
defusedxmlin scripts likescripts/clean.pyandscripts/office/validators/base.pyto prevent XML External Entity (XXE) attacks. - [METADATA_POISONING]: There is a potential provenance mismatch between the stated author and the technical context.
- Evidence:
SKILL.mdidentifies the author as 'Anthropic, PBC' and points to a source repository atgithub.com/anthropics/skills, while the environment context identifies the skill author as 'khkreddy'. This could mislead users regarding the official support or security audit status of the code.
Audit Metadata