alterlab-generate-image

Pass

Audited by Gen Agent Trust Hub on Nov 26, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes local binaries such as pdflatex, dot, mmdc, and cairosvg to render code-drawn illustrations and diagrams. It also runs Python scripts for image processing using the Pillow library.
  • [EXTERNAL_DOWNLOADS]: The skill uses the uv tool to manage and fetch Python dependencies like cairosvg and pillow from the official Python Package Index (PyPI).
  • [DYNAMIC_EXECUTION]: The skill generates graphic source files (SVG, TikZ, Mermaid) and processes them at runtime using local compilers and renderers. It also uses the ast module to dynamically extract configuration values from accompanying script files.
  • [DATA_EXFILTRATION]: The skill performs network requests to the OpenRouter API (openrouter.ai) to generate and edit images. While this is core functionality, it involves sending user-provided prompts and image data to an external service.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input in the form of text prompts and image files which are passed to AI models and image manipulation libraries.
  • Ingestion points: User-provided text prompts in generate_image.py and image files in edit_image.py.
  • Boundary markers: No explicit delimiters are used to separate user-provided instructions from system prompts during processing.
  • Capability inventory: The skill possesses capabilities for local command execution via subprocesses and network communication via the requests library.
  • Sanitization: Input data is passed to the underlying tools and APIs without specific sanitization against potential embedded instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 26, 2026, 06:59 AM