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_gameinreferences/patterns/save-load-system.mdreads fromuser://storage;InputBufferinreferences/patterns/input-handling.mdprocesses OS-level input events. - Boundary markers: The templates utilize structural parsing via
JSON.parseand 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_validto 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.,
SimplePoolinreferences/patterns/object-pooling.md) demonstrate the use ofPackedScene.instantiate()andResourceLoader.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