Pass
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill documentation and scripts recommend the installation of standard Python packages such as pypdf, reportlab, and pdfplumber. It also utilizes the marker-pdf library, which is designed to download machine learning models from HuggingFace, a well-known and trusted service in the AI community.
- [COMMAND_EXECUTION]: The helper script
_raster.pyexecutes the system utilitypdftoppmvia thesubprocess.runmethod to rasterize PDF pages. This execution is performed using a list of arguments rather than a single shell string, which effectively prevents shell injection vulnerabilities. - [DYNAMIC_EXECUTION]: The
pdf_read.pyandpdf_form_layout.pyscripts employ the__import__function for lazy loading of dependencies. This implementation allows the skill to check for the presence of libraries at runtime and provide specific installation instructions to the user if they are missing, rather than crashing immediately. - [INDIRECT_PROMPT_INJECTION]: The skill acts as a bridge for ingesting untrusted data by extracting text and metadata from external PDF files. This creates a surface for indirect prompt injection attacks.
- Ingestion points: Document content is read into the agent's context through scripts like
pdf_read.pyandextract_marker.py. - Boundary markers: The scripts do not appear to wrap extracted text in specific delimiters to distinguish it from system instructions.
- Capability inventory: The skill has the ability to write to the file system (e.g., creating PDFs or extracting attachments) and execute system commands for rasterization.
- Sanitization: The skill includes basic path sanitization in
pdf_meta.pyby usingos.path.basenamewhen extracting file attachments from PDFs, which helps prevent path traversal attacks.
Audit Metadata