godot-best-practices

Pass

Audited by Gen Agent Trust Hub on Oct 3, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill provides templates and instructions for building systems that process untrusted data from external sources, such as game save files and user input.
  • Ingestion points: SaveManager.load_game in references/patterns/save-load-system.md reads from user:// storage; InputBuffer in references/patterns/input-handling.md processes OS-level input events.
  • Boundary markers: The templates utilize structural parsing via JSON.parse and explicit type casting (as SaveData) to validate data structures during ingestion.
  • Capability inventory: The skill utilizes standard game engine capabilities including file system operations (ResourceSaver.save, DirAccess) and node lifecycle management.
  • Sanitization: The documentation explicitly recommends security best practices such as data validation, using is_instance_valid to check node references, and implementing error handling for corrupted or missing data.
  • [DYNAMIC_EXECUTION]: The skill documents idiomatic Godot patterns for runtime asset management and node instantiation.
  • Evidence: Multiple templates (e.g., SimplePool in references/patterns/object-pooling.md) demonstrate the use of PackedScene.instantiate() and ResourceLoader.load().
  • Context: These operations are fundamental to the Godot game engine and are presented here within the context of performance optimization and state management best practices.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 3, 2026, 02:50 PM