blog-image-generator
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill interacts with the Unsplash API to search for and download images and attribution metadata.
- Evidence: The script
scripts/generate_blog_image.pymakes network requests toapi.unsplash.comand related Unsplash image domains using the Python standard libraryurllib. - [COMMAND_EXECUTION]: The skill instructions involve executing a local Python script to perform image manipulation (cropping, dithering, pixelation).
- Evidence: Instructions in
README.mdandSKILL.mddirect the user/agent to runpython3 scripts/generate_blog_image.pywith various arguments. - [INDIRECT_PROMPT_INJECTION]: The skill processes external metadata from the Unsplash API, which represents a potential surface for indirect prompt injection if an attacker were to poison Unsplash metadata fields.
- Ingestion points:
scripts/generate_blog_image.pyprocesses JSON responses from the Unsplash API (request_jsonandunsplash_metadatafunctions). - Boundary markers: None explicitly present for isolating external metadata in the output JSON files, though the data is handled as structured JSON.
- Capability inventory: The skill has the capability to write files to the local filesystem and perform network operations to Unsplash endpoints.
- Sanitization: The script utilizes standard JSON parsing and implements a
scrubfunction to ensure theUNSPLASH_ACCESS_KEYis not leaked in error messages or logs.
Audit Metadata