scenario-unity-rendering-lighting
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Python's
subprocess.runinscripts/ut_lighting.pyto execute the Unity Editor binary and built player applications. This is a functional requirement for Unity automation tasks such as baking lightmaps and capturing scene renders. The commands are constructed usingshlex.quoteor as argument lists, following security best practices to prevent command injection. - [DYNAMIC_EXECUTION]: The C# scripts in
scripts/AgentKit/Lighting/utilize reflection (e.g.,LightingUtil.GetField) and Unity'sSerializedObjectAPI to access and modify internal engine fields. This is documented as a necessary workaround for URP 17.3's lack of public APIs for specific graphics settings (like shader warmup and render graph internals). This behavior is scoped to the local Unity project context. - [INDIRECT_PROMPT_INJECTION]: The skill has an ingestion surface as it reads Unity project files and log outputs (
unity.log). While these are theoretically untrusted if a project was provided by an adversary, the skill operates within a development environment where project files are the primary data source. No evidence of unsafe interpolation of external content into the agent's core instructions was found. - [DATA_EXPOSURE_AND_EXFILTRATION]: File operations are restricted to the Unity project directory (
Assets/,Library/,ProjectSettings/) and local build paths. No network operations or hardcoded credentials were identified.
Audit Metadata