hatch-pet
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided pet descriptions and names which are interpolated into prompts for image generation.
- Ingestion points:
pet_name,description, andpet_notesparameters inSKILL.mdandscripts/prepare_pet_run.py. - Boundary markers: The skill lacks explicit boundary markers or "ignore instructions" warnings around the user-supplied strings when constructing prompts for
$imagegenor subagents. - Capability inventory: The skill performs file system writes (atlas composition, packaging to the
.codexdirectory), executes local Python scripts viasubprocess, and performs network requests via the$imagegenskill or a fallback OpenAI API. - Sanitization: Filenames and slugs are sanitized using a
slugifyfunction, andscripts/generate_pet_images.pycontains explicit path traversal validation for input and output paths to prevent escaping the run directory. - [COMMAND_EXECUTION]: The skill utilizes
subprocess.runto coordinate its complex multi-step workflow by executing its own bundled Python scripts. - Evidence:
scripts/finalize_pet_run.pyexecutesextract_strip_frames.py,inspect_frames.py,compose_atlas.py, and other specialized scripts within the skill's package. - Evidence:
scripts/render_animation_videos.pyexecutes theffmpegCLI tool to generate preview videos of the pet animations.
Audit Metadata