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.py script executes the git command via the Python subprocess module 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.py populates 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 the unity command eval_file interface.
  • [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.py reads 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
Risk Level
SAFE
Analyzed
Nov 17, 2026, 04:02 PM