historical-ocr
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill transcribes text from image files provided by the user, which serves as an ingestion point for untrusted data into the agent's workflow.
- Ingestion points: Image files are read from the
input_dirin thebatch_ocr_folderfunction and viapreprocess_historical_image. - Boundary markers: The skill does not employ explicit delimiters or instructions to ignore potential commands embedded within the OCR-extracted text.
- Capability inventory: The skill has the capability to write transcribed text to the file system using
Path.write_textand to save CSV quality reports viapd.to_csv. - Sanitization: There is no evidence of sanitization or filtering of the transcribed content before it is processed or written to output files.
- [PRIVILEGE_ESCALATION]: The environment setup instructions recommend using
sudo apt-get installto install the Tesseract OCR engine and its language packs, which involves requesting elevated administrative permissions. - [EXTERNAL_DOWNLOADS]: The documentation provides instructions to download historical OCR models using the
kraken getcommand from Zenodo, an established scientific data repository. - [COMMAND_EXECUTION]: The skill relies on the
pytesseractlibrary, which executes the system'stesseractbinary via subprocess calls, and provides instructions for utilizing thekrakencommand-line interface for document segmentation and transcription.
Audit Metadata