export-docx
Warn
Audited by Gen Agent Trust Hub on Apr 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a multi-step shell command that includes package installation followed by a Python execution via a heredoc (python3 << 'DOCXEOF').
- [EXTERNAL_DOWNLOADS]: The execution process involves downloading and installing the python-docx and Pillow packages from a public registry at runtime. While these are well-known libraries, they are fetched without version pinning.
- [REMOTE_CODE_EXECUTION]: The code template relies on direct string substitution for variables such as PROJECT_DIR_PLACEHOLDER and REPORT_FILE_PLACEHOLDER. This creates a vulnerability where malicious project or file names could inject arbitrary Python code into the execution environment.
- [DATA_EXFILTRATION]: While no external network exfiltration is explicitly present in the code, the ability to control the PROJECT_DIR and REPORT_FILE via placeholders allows for unauthorized reading of any file accessible to the user if the path is manipulated.
Audit Metadata