photo-content-recognition-curation-expert
Warn
Audited by Gen Agent Trust Hub on Mar 5, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill implements a caching mechanism in
references/photo-indexing.mdusing the Pythonpicklemodule. Specifically, theQuickPhotoIndexer.load_cachemethod usespickle.load()to deserialize a local file (photo_index.pkl). This is a known unsafe deserialization pattern; if an attacker manages to modify or replace the cache file, it can lead to arbitrary code execution during the indexing process. - [EXTERNAL_DOWNLOADS]: The skill fetches several pre-trained models and configurations from well-known technology providers. In
references/perceptual-hashing.mdandreferences/photo-indexing.md, it utilizes thetransformerslibrary to download DINOv2 and CLIP models from HuggingFace. Inreferences/content-detection.md, it downloads YOLOv8 weights from Ultralytics. These are documented as standard operations for the skill's machine learning functionality. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted image data through various detectors, including OCR via
pytesseractinreferences/content-detection.md. While the current code only uses OCR to calculate text coverage for screenshot detection, the ingestion of arbitrary text from images creates an attack surface where malicious instructions could potentially influence the agent if the text were ever interpolated into a prompt. - Ingestion points: Image files processed by
ScreenshotDetector.compute_text_coverageinreferences/content-detection.mdand the indexing pipeline inreferences/photo-indexing.md. - Boundary markers: None present; the skill treats extracted metadata as trusted for internal scoring logic.
- Capability inventory: The skill has access to
Bash,Write, andEdittools, and executes Python scripts that perform file system and image processing operations. - Sanitization: No explicit sanitization of OCR-extracted text is performed before it is used in calculations.
Audit Metadata