unity-game-loop

Pass

Audited by Gen Agent Trust Hub on Sep 29, 2026

Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The GameLoopController implementation in both SKILL.md and references/game-loop-scaffolds.md utilizes Activator.CreateInstance and Type.GetType to instantiate game phases.
  • Evidence: The controller resolves class types from string names stored in GamePhaseConfig ScriptableObject assets at runtime.
  • Context: While this is a common architectural pattern for modular Unity games to avoid tight coupling, it represents dynamic loading from data-driven paths.
  • [INDIRECT_PROMPT_INJECTION]: The skill acts as a translation layer between natural language design intents and structured C# code.
  • Ingestion points: SKILL.md defines a template for processing user-supplied DESIGN INTENT descriptions.
  • Boundary markers: The skill employs markdown code blocks to separate instructions from generated output.
  • Capability inventory: The skill is scoped to generating Unity scripts (.cs) and assets (.asset) within the project environment.
  • Sanitization: The provided scaffolding includes explicit type validation using IsAssignableFrom to ensure that dynamically instantiated types conform to the IGamePhase interface.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 29, 2026, 04:32 PM