pdf-to-md
Pass
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill automatically fetches required PDF processing libraries (pymupdf, pymupdf4llm, marker-pdf, torch, docling) from the official Python Package Index (PyPI). It also downloads pre-trained AI models from HuggingFace to support OCR and layout analysis.
- [COMMAND_EXECUTION]: The conversion script uses
subprocess.runto manage its internal virtual environment, including creating the environment and installing dependencies viapip. - [DYNAMIC_EXECUTION]: The script employs
os.execvfor process replacement, allowing it to re-execute itself within the created virtual environment to ensure it uses the correctly isolated dependency stack. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes untrusted PDF data provided by the user.
- Ingestion points:
bin/convert.pyreads PDF content from user-specified file paths. - Boundary markers: The output is written to standard Markdown files without specific delimiters to prevent embedded instruction obedience.
- Capability inventory: The skill possesses filesystem write permissions and the ability to execute its own bootstrapping commands.
- Sanitization: No sanitization or filtering is performed on the text extracted from the PDF before it is written to the output file.
Audit Metadata