pptx
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: SAFE
Full Analysis
- COMMAND_EXECUTION (SAFE): The skill uses external tools for document validation in a secure manner.
- Evidence:
ooxml/scripts/pack.pycallssoffice(LibreOffice) usingsubprocess.runwith a list of arguments. - Security: By passing arguments as a list rather than a single string, the code prevents shell injection vulnerabilities.
- XML Security (SAFE): The skill processes untrusted XML data found within Office files using hardened libraries.
- Evidence:
ooxml/scripts/unpack.pyandooxml/scripts/pack.pyutilizedefusedxml.minidomfor parsing. - Security: Use of
defusedxmlmitigates XML External Entity (XXE) and Billion Laughs denial-of-service attacks by disabling entity expansion. - Indirect Prompt Injection (SAFE): Analysis of the attack surface for untrusted document processing.
- Ingestion points:
ooxml/scripts/unpack.pyreads and extracts contents from external Office documents. - Boundary markers: Not applicable as the skill primarily performs programmatic structural transformations rather than LLM prompt construction.
- Capability inventory: File system access (read/write) in
rearrange.pyandpack.py, and subprocess execution for conversion inpack.py. - Sanitization: XML parsing is secured via
defusedxml, and file paths are handled using thepathliblibrary to prevent directory traversal.
Audit Metadata