doc
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from
.docxfiles which could be used for injection attacks. - Ingestion points:
scripts/render_docx.pyopens user-provided document files to parse XML metadata and perform rasterization. - Boundary markers: No explicit delimiters or instructions are used to distinguish document content from agent instructions during text extraction or visual review steps.
- Capability inventory: The skill can execute system commands via
subprocess.runand write files totmp/docs/andoutput/doc/. - Sanitization: While it uses standard libraries like
ElementTreefor XML andpython-docx, it lacks specific sanitization for text content that might be interpreted by the LLM as instructions. - [COMMAND_EXECUTION]: The skill uses system calls to manage document conversion.
- Evidence:
scripts/render_docx.pyusessubprocess.run()to executesoffice(LibreOffice) andpdftoppm(Poppler). The implementation uses argument lists rather than raw shell strings, which mitigates simple command injection, but the skill still operates on user-controlled file paths.
Audit Metadata