Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill invokes the
pdftoppmutility viasubprocess.runfor PDF page rasterization inscripts/_raster.py. The command is constructed using a list of arguments rather than a single shell string, which prevents command injection from malicious file paths or parameters. - [DYNAMIC_EXECUTION]: Helper scripts like
scripts/pdf_read.pyandscripts/pdf_form_layout.pyuse__import__to lazily load optional dependencies or resolve paths. These calls use hardcoded module names and do not involve untrusted input, adhering to safe dynamic loading practices. - [INDIRECT_PROMPT_INJECTION]: As the skill extracts text and data from external PDF files for agent processing (e.g., in
scripts/pdf_read.pyandscripts/extract_marker.py), it possesses an indirect prompt injection surface. The skill has access to file writing and command execution tools, but it mitigates associated risks (like path traversal) by sanitizing filenames usingos.path.basenamewhen extracting embedded attachments inscripts/pdf_meta.py. - [EXTERNAL_DOWNLOADS]: The
marker-pdftool, referenced inscripts/extract_marker.py, is used for high-quality OCR. This library is documented to download pre-trained machine learning models from HuggingFace upon first use, which is a standard behavior for this well-known service.
Audit Metadata