skills/openai/skills/imagegen/Gen Agent Trust Hub

imagegen

Pass

Audited by Gen Agent Trust Hub on Sep 15, 2026

Risk Level: SAFE
Full Analysis
  • Secure Environment Variable Handling: The script leverages the OPENAI_API_KEY environment variable rather than hardcoding credentials, which aligns with standard practices for credential management.
  • Path Traversal Protection: In batch processing mode, output file paths are derived using base.name and a slugification function, ensuring that filenames remain constrained within the designated output directory and preventing potential path traversal considerations.
  • Standard Package Dependencies: The dependencies requested (openai and pillow) are standard, well-known libraries from official repositories, presenting no unusual risk factors.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 15, 2026, 08:01 AM
Security Audit — agent-trust-hub — imagegen