mineru-pdf

Pass

Audited by Gen Agent Trust Hub on Nov 19, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The shell script scripts/mineru_parse.sh executes the mineru command to process PDF files. It uses environment variable overrides like MINERU_CMD and MINERU_EXTRA_ARGS to allow flexible configuration of the underlying CLI. If these environment variables are influenced by an attacker, they could potentially lead to the execution of arbitrary commands or malicious arguments.
  • [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest external, untrusted PDF files and extract their content into Markdown or JSON for an AI agent to process.
  • Ingestion points: The input PDF file path provided to scripts/mineru_parse.sh represents the primary entry point for untrusted data.
  • Boundary markers: The skill does not implement delimiters or 'ignore' instructions to isolate extracted PDF content from the agent's core instruction set.
  • Capability inventory: The skill possesses the ability to execute shell commands and perform file system read/write operations within the output directory.
  • Sanitization: There is no evidence of sanitization, filtering, or validation of the text extracted from the PDF documents, creating a surface where malicious instructions embedded in a document could influence the AI agent's behavior.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 19, 2026, 08:57 AM