krt-document-forge
Pass
Audited by Gen Agent Trust Hub on May 26, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/convert_to_markdown.pyexecutes thepdftotextsystem utility and thepipmodule viasubprocess.run. These calls use argument lists rather than shell strings, preventing command injection, and are restricted to specific, hardcoded operations for text extraction and dependency management. - [EXTERNAL_DOWNLOADS]: The skill supports the installation of optional Python extractors (
pypdf,pdfplumber,PyMuPDF) from the official registry (PyPI) into a local virtual environment. This process is gated by the--install-missingflag and is used to provide the tool's core functionality. - [PROMPT_INJECTION]: The skill processes untrusted documents, creating an indirect prompt injection surface.
- Ingestion points: PDF and DOCX files provided via the
inputsargument inSKILL.md. - Boundary markers: None; document content is converted directly into Markdown without explicit isolation from instructions.
- Capability inventory: Subprocess execution of
pdftotextand file system write operations inscripts/convert_to_markdown.py. - Sanitization: The script employs a
slugifyfunction to sanitize output filenames, preventing directory traversal, and restricts processing to validated file extensions.
Audit Metadata