anthropics-pptx
Warn
Audited by Gen Agent Trust Hub on Mar 15, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/office/soffice.pycontains logic to compile a C source string (_SHIM_SOURCE) at runtime usinggcc. The resulting shared object (lo_socket_shim.so) is injected into thesofficeprocess via theLD_PRELOADenvironment variable to intercept and shim AF_UNIX socket system calls (socket, listen, accept, close). This pattern is used to bypass socket restrictions in sandboxed execution environments. - [EXTERNAL_DOWNLOADS]: The skill requires the installation of several third-party dependencies during setup as documented in
SKILL.mdandpptxgenjs.md, including themarkitdownPython package and thepptxgenjsNode.js library, along with their respective ecosystems (Pillow, react-icons, sharp). - [COMMAND_EXECUTION]: The skill utilizes several scripts that spawn subprocesses to interact with system tools:
scripts/office/soffice.py: Executesgccfor shim compilation andsofficefor document conversion.scripts/thumbnail.py: Spawnssofficeand Poppler'spdftoppmto generate slide images.scripts/office/validators/redlining.py: Usesgit diffto perform text comparison for tracked changes.- [PROMPT_INJECTION]: The skill processes untrusted user-provided
.pptxfiles, which constitutes a surface for indirect prompt injection attacks. - Ingestion points: Text extraction is performed in
SKILL.mdusingmarkitdownand raw XML unpacking. - Boundary markers: No explicit delimiters or instructions to ignore embedded content are applied to extracted text in the extraction commands.
- Capability inventory: The skill has extensive capabilities including subprocess spawning (
gcc,soffice,pdftoppm,git), file system manipulation (zipfile,Path.unlink,shutil), and runtime code injection (LD_PRELOAD). - Sanitization: XML processing in
scripts/office/unpack.pyandscripts/office/pack.pyuses thedefusedxmllibrary to prevent XML External Entity (XXE) vulnerabilities.
Audit Metadata