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_dir in the batch_ocr_folder function and via preprocess_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_text and to save CSV quality reports via pd.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 install to 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 get command from Zenodo, an established scientific data repository.
  • [COMMAND_EXECUTION]: The skill relies on the pytesseract library, which executes the system's tesseract binary via subprocess calls, and provides instructions for utilizing the kraken command-line interface for document segmentation and transcription.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 7, 2026, 07:17 AM