baoyu-image-gen
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
execFileSyncto runcurlinscripts/providers/google.tsandspawnto run thecodexCLI inscripts/providers/codex-cli.ts. These executions are necessary for the skill core networking and integration features and target trusted services.\n- [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided prompts and images to generate AI content.\n - Ingestion points: Data enters via
--prompt,--promptfiles, and--refflags parsed inscripts/main.ts.\n - Boundary markers: The skill uses delimiters like 'PROMPT:' and 'TASK:' in the
codex-cliprovider to isolate user data.\n - Capability inventory: The skill possesses file-write and network capabilities.\n
- Sanitization:
scripts/codex-imagegen/main.tsemploysassertSafePathto mitigate shell injection risks in file paths.\n- [DYNAMIC_EXECUTION]:scripts/main.tsdynamically imports local provider modules. This behavior is safely limited to a predefined list of provider identifiers.\n- [EXTERNAL_DOWNLOADS]: The skill downloads generated media from well-known AI providers, including Google, OpenAI, Alibaba, and others, as part of its intended image generation workflow.
Audit Metadata