pymupdf-pdf
Pass
Audited by Gen Agent Trust Hub on Nov 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted PDF documents which serves as a vector for indirect prompt injection attacks where malicious instructions are hidden in processed data.\n
- Ingestion points: The script
scripts/pymupdf_parse.pyreads raw text and metadata from user-provided PDF files via thefitz(PyMuPDF) library.\n - Boundary markers: The Markdown output includes page markers (e.g.,
<!-- page 1 -->), but there are no robust delimiters or instructions to the AI agent to ignore potentially malicious content within the extracted text.\n - Capability inventory: The skill possesses filesystem write capabilities, allowing it to save extracted text, JSON data, and images to the local disk using
pathlib.Path.write_textandfitz.Pixmap.save.\n - Sanitization: No evidence of sanitization, escaping, or filtering was found in
scripts/pymupdf_parse.py; the extracted text is written directly to the output files.
Audit Metadata