pptx
Warn
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONING
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pycontains a static C source code block that it writes to a temporary file and compiles at runtime usinggcc. The resulting shared object is then loaded into the environment usingLD_PRELOAD. While this is intended as a shim to support LibreOffice in sandboxed environments by redirecting socket calls, it constitutes sophisticated runtime code generation and injection. - [COMMAND_EXECUTION]: The skill frequently uses
subprocess.run()to execute system binaries across several scripts: scripts/office/soffice.pyexecutesgccfor runtime compilation.scripts/thumbnail.pyexecutessoffice(LibreOffice) andpdftoppm(Poppler) for document conversion and image processing.scripts/office/validators/redlining.pyexecutesgit difffor version comparison.- [METADATA_POISONING]: The
descriptionfield in theSKILL.mdfrontmatter is set to"QUERY LENGTH LIMIT EXCEEDED. MAX ALLOWED QUERY : 500 CHARS". This is deceptive as it mimics a system error message within the skill metadata. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user-supplied Office documents, creating a surface for indirect prompt injection.
- Ingestion points: Untrusted content enters the context via
scripts/office/unpack.py(XML extraction) andscripts/thumbnail.py(visual analysis). - Boundary markers: The scripts utilize
defusedxmlto mitigate XML-specific attacks like XXE, but there are no textual boundaries or instructions provided to the agent to disregard natural language commands that might be found within the extracted slide content. - Capability inventory: The skill allows for significant system interactions including filesystem writes and the execution of powerful command-line utilities.
- Sanitization: Sanitization is handled at the XML parsing layer (
defusedxml), but content extracted for the agent's natural language processing lacks specific filtering or sanitization.
Audit Metadata