scenario-unity-expert
Warn
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill implements a live bridge (
AgentBridge.cs) and an evaluation utility (ut_live.py) that allow for the runtime generation and execution of arbitrary C# code within the Unity Editor environment. - Evidence in
scripts/ut_live.pyshows anevalfunction that writes C# snippets toAssets/Editor/AgentEval/and triggers their compilation and execution. - Evidence in
scripts/AgentKit/AgentBridge.csshows the bridge polling an inbox directory for JSON requests and using reflection to find and invoke static methods by name. - [COMMAND_EXECUTION]: The toolkit frequently spawns external processes to manage the Unity Editor lifecycle and execute batch jobs.
scripts/ut_run.pyandscripts/ut_live.pyusesubprocess.Popenandsubprocess.runto launch Unity binaries with various command-line arguments.scripts/ut_env.pyusessubprocess.runto perform filesystem operations like cloning projects viacpand checking Xcode versions.- [EXTERNAL_DOWNLOADS]: The documentation references official installation methods that involve pipe-to-shell patterns from external sources.
references/live-channels.mdmentions the official Unity CLI installer:curl -fsSL https://public-cdn.cloud.unity3d.com/hub/prod/cli/install.sh | bash.- Note: This targets a well-known service (Unity) and is documented for environment setup purposes.
- [DATA_EXPOSURE]: The skill accesses local Unity license files to verify activation status.
scripts/ut_env.pyreads~/Library/Unity/licenses/UnityEntitlementLicense.xmlto parse the<UpdateDate>field for checking the 30-day offline window.- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external sources which could serve as an injection surface.
- Ingestion points: Reads Unity editor logs (
scripts/ut_run.py), NUnit XML test results (scripts/ut_stat.py), and frame timing CSVs (scripts/ut_stat.py). - Boundary markers: The protocol uses an
AGENT_RESULTprefix and JSON envelopes to delimit job output from engine log noise. - Capability inventory: The skill can write files to the project directory and execute shell commands to Unity.
- Sanitization: External data is parsed into structured JSON objects before being returned to the agent context.
Audit Metadata