pdf-reader
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
scripts/read_pdf.pyscript automatically installs thePyMuPDFpackage from the Python Package Index (PyPI) if it is missing. This is a standard setup procedure for this type of utility. - [COMMAND_EXECUTION]: The script invokes
pipviasubprocess.check_callto handle library installation. The command uses a hardcoded list of arguments and does not process external input, making it a safe administrative action. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from PDF files, creating a potential surface for indirect prompt injection.
- Ingestion points: The script extracts text and metadata using
doc[i].get_text()anddoc.metadatainscripts/read_pdf.py. - Boundary markers: The extracted content is returned without specific delimiters or warnings to the agent to ignore embedded instructions.
- Capability inventory: The skill has the ability to read files from the disk and perform library installation via shell commands.
- Sanitization: No sanitization or filtering is applied to the extracted text before it is returned to the agent.
Audit Metadata