mistral-pdf-to-markdown

Pass

Audited by Gen Agent Trust Hub on Oct 18, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes content from untrusted PDF files and converts it into Markdown for agent consumption. This establishes a surface for indirect prompt injection where malicious instructions hidden within a PDF could be inadvertently followed by the AI agent during processing.
  • Ingestion points: scripts/convert_pdf_to_markdown.py reads external PDF files provided as command-line arguments.
  • Boundary markers: The skill does not implement delimiters or safety instructions to distinguish processed document content from the agent's operational instructions.
  • Capability inventory: The skill script has the ability to write files to the local directory and initiate network requests to the Mistral OCR API.
  • Sanitization: No validation or filtering is applied to the text extracted by the OCR process before it is saved to the output Markdown file.
  • [EXTERNAL_DOWNLOADS]: The skill documentation specifies requirements for external Python packages (mistralai, python-dotenv, pypdf) which are standard libraries for AI and PDF processing.
  • [COMMAND_EXECUTION]: The instructions and usage examples demonstrate the use of subprocess.run to call the Python conversion script, which is a standard method for executing local utility scripts within a skill workflow.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 18, 2026, 12:33 PM