docx
Fail
Audited by Gen Agent Trust Hub on Feb 15, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- Dynamic Execution (HIGH): The skill performs runtime compilation of C source code and uses library injection techniques to intercept system calls.
- Evidence:
scripts/office/soffice.pycontains a C source string (_SHIM_SOURCE) that is written to/tmp/lo_socket_shim.cand compiled at runtime usinggcc -shared -fPICvia_ensure_shim(). - Evidence: The compiled shared object is injected into the
soffice(LibreOffice) process using theLD_PRELOADenvironment variable inget_soffice_env(). - Context: While intended to bypass
AF_UNIXsocket restrictions in sandboxed environments, runtime compilation and injection are high-risk patterns typically associated with evasion. - Indirect Prompt Injection (HIGH): The skill processes untrusted external data (Office documents) and has high-privilege capabilities (file modification, command execution).
- Ingestion points:
scripts/office/unpack.py(extracts ZIP archives);scripts/office/validators/redlining.py(parses extracted XML content). - Boundary markers: None found. There are no clear delimiters or instructions to the agent to treat document content as untrusted data rather than instructions.
- Capability inventory:
subprocess.runcalls togcc,git, andsoffice(viascripts/office/soffice.py,scripts/office/validators/redlining.py, andscripts/accept_changes.py). - Sanitization: While
defusedxmlis used in some modules,scripts/office/validators/pptx.pyuseslxml.etreeandscripts/office/validators/redlining.pyusesxml.etree.ElementTreewithout explicit security hardening against entities or complex XML structures. - Unverifiable Dependencies & Remote Code Execution (MEDIUM): The skill invokes several external system binaries whose integrity and configuration are not verified.
- Evidence: Subprocess calls in
scripts/office/soffice.py(gcc),scripts/accept_changes.py(soffice), andscripts/office/validators/redlining.py(git diff).
Recommendations
- AI detected serious security threats
Audit Metadata