document-processing
Pass
Audited by Gen Agent Trust Hub on Aug 21, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill implements a 'Quality Evaluation (agent-as-judge)' workflow that is susceptible to indirect prompt injection. \n
- Ingestion points: Document contents are ingested via the
--sourceargument inscripts/opensearch_ops.pyand converted to chunks.\n - Boundary markers: The guide does not specify the use of delimiters or instructions to ignore embedded commands when the agent reviews 'representative chunk samples'.\n
- Capability inventory: The agent reads extracted text and writes a verdict file (
save-quality) which can influence subsequent re-ingestion decisions.\n - Sanitization: There is no mention of sanitization or filtering of the extracted document content before it is presented to the agent for judging.\n- [EXTERNAL_DOWNLOADS]: The skill performs automatic downloads of external resources.\n
- Evidence:
document_processing_guide.mdnotes that the first execution 'downloads AI models (~1.5 GB) automatically'. These are required by the Docling library for processing tasks like OCR and table extraction.\n- [COMMAND_EXECUTION]: The skill relies on the execution of local scripts to perform its primary functions.\n - Evidence: Multiple commands in
document_processing_guide.mdinvokeuv run python scripts/opensearch_ops.pyto handle ingestion, evaluation, and quality logging.
Audit Metadata