pptx
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- Dynamic Library Injection and Runtime Compilation: The skill includes a utility in
scripts/office/soffice.pydesigned to enable LibreOffice functionality in restricted environments. This utility writes C source code to a temporary location, compiles it into a shared object usinggcc, and utilizes theLD_PRELOADenvironment variable to inject this library into the application process. \n - Evidence: The Python script contains the C source for a socket-redirection shim and executes a compilation command via
subprocess.run. \n - Context: This behavior is documented as a workaround for environments where AF_UNIX sockets are blocked. While functionally necessary for the skill's operation in certain sandboxes, runtime compilation and library injection are significant capabilities that should be noted.\n- System Tool Orchestration: The skill frequently interacts with external system utilities to perform document conversion and comparison tasks. \n
- Evidence: Found in
scripts/thumbnail.py(LibreOffice and Poppler),scripts/office/soffice.py(GCC), andscripts/office/validators/redlining.py(Git). \n - Context: These interactions are core to the skill's functionality (e.g., converting slides to images). The scripts use argument lists in subprocess calls, which helps mitigate risks associated with shell-based command execution.\n- Proactive XML Security Measures: The skill demonstrates strong defensive practices when handling Office XML data. \n
- Evidence: It consistently uses the
defusedxmllibrary for parsing throughout the script codebase. \n - Context: This practice effectively addresses risks related to XML External Entity (XXE) and other XML-based security considerations.\n- Archive Integrity Protections: The skill implements safeguards for file extraction tasks. \n
- Evidence: The
safe_extracthelper function inscripts/office/helpers/__init__.pyperforms explicit checks to prevent symlink creation and path traversal during the extraction of Office ZIP archives. \n - Context: These checks are a standard security practice to prevent 'Zip Slip' style vulnerabilities.
Audit Metadata