docx
Warn
Audited by Gen Agent Trust Hub on Jul 30, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/office/soffice.pycontains logic to dynamically write C source code to the temporary directory and compile it into a shared object file usinggccat runtime. It then utilizes theLD_PRELOADenvironment variable to inject this library into thesofficebinary. While used as a workaround for socket restrictions in sandboxed environments, runtime compilation and library injection are highly privileged operations. - [COMMAND_EXECUTION]: The
scripts/office/unpack.pyandscripts/office/validate.pyscripts utilizezipfile.extractall()to extract content from Word documents. This method is vulnerable to Zip Slip attacks because it does not validate that extracted file paths remain within the intended directory, potentially allowing a malicious document to overwrite arbitrary system files via path traversal. - [COMMAND_EXECUTION]: Multiple scripts invoke system tools such as
soffice,gcc,git, andpandocusingsubprocess.run. These executions are fundamental to the skill's document conversion and validation capabilities but involve interaction with the underlying operating system that requires careful oversight. - [SAFE]: Document XML files are parsed using the
defusedxmllibrary, which protects the agent and host system from common XML-based vulnerabilities including Billion Laughs attacks and XML External Entity (XXE) injection.
Audit Metadata