pdf-processor
Pass
Audited by Gen Agent Trust Hub on Nov 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto execute host commands, including the macOSSetFileutility to preserve file creation dates and thecurltool for reliable network uploads. It also includes a benchmarking script that executes the skill's own processing pipeline. - [EXTERNAL_DOWNLOADS]: Fetches OCR results and processed document data from well-known services including PaddleOCR (Baidu) and MinerU.
- [DATA_EXFILTRATION]: Transmits document content to external API endpoints for OCR and layout analysis when specific backends are selected.
- [DYNAMIC_EXECUTION]: Uses
importliband module specification functions to dynamically load internal processing modules and utility scripts from its own directory structure. - [INDIRECT_PROMPT_INJECTION]: Ingests and processes text and layout data returned from external OCR services, presenting an injection surface if processed documents contain malicious instructions.
- Ingestion points:
scripts/pdf_ocr_paddle_api.pyandscripts/pdf_ocr_mineru.pyingest data through JSON/JSONL responses from configured API endpoints. - Boundary markers: Not present for the processed text content layers.
- Capability inventory: Includes file system write operations (
fitz.save,Path.write_text) and network communication tools. - Sanitization: Performs character normalization and CJK spacing cleanup on the ingested OCR text before generating output files.
Audit Metadata