reference-beauty-prep

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill instructions are focused entirely on image aesthetic modifications (skin retouching, lighting, and hairstyling). No suspicious commands, network operations, or sensitive file access patterns were detected across any of the files.
  • [INDIRECT_PROMPT_INJECTION]: The skill establishes an attack surface by processing untrusted user data, specifically uploaded images and text prompts for style changes (e.g., 'Meitu style'). This is mitigated by explicit boundary markers in SKILL.md and templates/beauty-board.md, which instruct the agent to maintain identity recognizability ('保持身份可识别'), avoid changing the core face/age ('不得改脸、去龄'), and explicitly separate the 'derived' beauty image from the 'canonical' identity reference. These constraints serve as safeguards against instructions embedded in user data that might attempt to hijack the agent's behavior.
  • [COMMAND_EXECUTION]: The provided Python test file (tests/test_beauty_prep_contract.py) performs local file system reads using pathlib to verify the integrity and consistency of the skill's instructions. This is standard development practice for automated testing and does not involve any dangerous command execution, subprocess spawning, or dynamic evaluation of untrusted input.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 11:41 AM