transcribing-images
Pass
Audited by Gen Agent Trust Hub on Nov 21, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user-supplied PPTX, PDF, and image files, creating a surface for adversarial content.
- Ingestion points: Data enters the system via file paths passed to
scripts/transcribe_pages.py, which are then read as raw bytes or processed by system utilities. - Boundary markers: The skill uses a detailed prompt (
_PAGE_PROMPT) to guide the vision model but does not include explicit delimiters or instructions to ignore commands that might be visually present in the source images. - Capability inventory: The script performs file system reads, executes local binaries (
libreoffice,pdftoppm,tesseract), and interacts with external LLM APIs (Gemini and Anthropic) through shared client modules. - Sanitization: No sanitization is performed on the visual content of the images before they are sent to the vision models, which is typical for OCR tasks but permits the potential for visual-based injection.
- [COMMAND_EXECUTION]: The script
scripts/transcribe_pages.pyrelies on executing external system binaries to handle file conversions. - Evidence: It uses
subprocess.runto calllibreofficefor PPTX to PDF conversion,pdftoppmfor rasterization, andtesseractfor OCR fallback. - Context: These commands are executed using argument lists rather than shell strings, which is a secure implementation. The binaries used are standard utilities for these tasks.
- [DYNAMIC_EXECUTION]: The skill uses dynamic library loading to share common functionality with other installed skills.
- Evidence:
scripts/transcribe_pages.pymodifiessys.pathat runtime to import modules from paths such as/mnt/skills/user/browsing-bluesky/scriptsand/mnt/skills/user/invoking-gemini/scripts. - Context: This pattern is used for cross-skill logic reuse (e.g., sharing a centralized model registry) and is a standard architectural choice within the agent environment.
Audit Metadata