pdf-page-count
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/count_pdf_pages.pyusessubprocess.check_outputto call system utilities likepdfinfoandmdls. These calls are implemented using list-based arguments rather than shell strings, which is a secure practice that prevents command injection even if file paths contain special characters. - [INDIRECT_PROMPT_INJECTION]: The skill processes PDF files to extract metadata (page count). While it ingests untrusted data from PDF files, it only extracts a numeric value and does not parse or interpolate arbitrary text from the document body into the agent's instructions, significantly limiting the surface area for injection attacks.
- [EXTERNAL_DOWNLOADS]: The documentation identifies
pypdfandpdfinfoas requirements. It provides standard troubleshooting advice for the user to install these dependencies if they are missing, rather than attempting to perform unauthorized or automated installations at runtime.
Audit Metadata