hatch-pet
Pass
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.run()inscripts/finalize_pet_run.pyto execute several local utility scripts for image processing, manifest updates, and packaging. It also usessubprocess.run()inscripts/render_animation_videos.pyto invoke theffmpegsystem utility for rendering animation previews. - [EXTERNAL_DOWNLOADS]:
scripts/generate_pet_images.pymakes network requests usingurllib.requesttoapi.openai.com(a trusted vendor) to generate images when the primary$imagegenskill is unavailable. This script requires anOPENAI_API_KEYwhich it correctly reads from environment variables. - [INDIRECT_PROMPT_INJECTION]: The skill takes user input in the form of pet descriptions and style notes and interpolates them into instructions for visual generation. While this is an attack surface, it is consistent with the skill's primary purpose.
- Ingestion points:
args.pet_notesandargs.style_notesare captured inscripts/prepare_pet_run.pyand written to prompts in theprompts/directory. - Boundary markers: The skill does not use specific delimiters or 'ignore embedded instructions' warnings around user input, though the surrounding prompt structure defines the role of the input.
- Capability inventory: The skill has the capability to perform network requests (to OpenAI), write to the local file system (specifically
~/.codex), and execute shell commands (ffmpeg). - Sanitization: The skill performs minimal string formatting but does not escape or validate user text for prompt-injection patterns.
Audit Metadata