unity-performance
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/scan.pyscript executes thegitcommand via the Pythonsubprocessmodule to determine project diffs and identify changed files. Although it uses a list-based argument structure to mitigate shell injection risks, it constitutes local command execution based on project state. - [DYNAMIC_EXECUTION]: The skill implements a dynamic code generation pattern where
scripts/scan.pypopulates a C# template (scripts/editor_audit.cs) with project-specific asset paths and settings. The resulting script is then executed within the Unity Editor environment using theunity command eval_fileinterface. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input from the Unity project it audits, creating a surface for indirect prompt injection.
- Ingestion points:
scripts/scan.pyreads the contents of C# scripts, shaders, and Unity YAML files (.prefab,.unity,.asset) from the user's project. - Boundary markers: No specific delimiters or "ignore instructions" directives are used to encapsulate the code hits provided to the AI agent.
- Capability inventory: The AI agent analyzes the ingested code to generate a performance report. The skill also facilitates the execution of local shell commands and Unity Editor scripts.
- Sanitization: The skill does not sanitize or filter the code content extracted from the project files before presenting it to the AI for analysis.
Audit Metadata