law-review-docx
Pass
Audited by Gen Agent Trust Hub on Jun 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.run()to execute several external command-line tools.scripts/build_docx.pyexecutespandocfor document conversion,osascriptfor AppleScript-based PDF rendering via Microsoft Word, andsoffice(LibreOffice) as a fallback renderer. Additionally, it executes thepdftotextutility inscripts/check_widows.pyand calls sibling Python scripts usinguv runinscripts/build_docx.pyandscripts/fix_widows.py. - [DATA_EXFILTRATION]: The
resolve_includesfunction inscripts/build_docx.pyimplements a markdown preprocessor that reads files from arbitrary absolute paths specified via<!-- include: PATH -->. This allows for local file exposure, as any file readable by the process can be included in the final document if the input markdown is maliciously crafted. - [EXTERNAL_DOWNLOADS]: The script
scripts/build_docx.pydynamically requests thelxmlpackage viauv run --with lxmlwhen executing internal helper scripts, indicating a runtime dependency on external package installation.
Audit Metadata