godot-save-load-systems
Fail
Audited by Gen Agent Trust Hub on Aug 29, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEDYNAMIC_EXECUTIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The file
scripts/save_migration_manager.gdcontains a hardcoded encryption keySECRET_XP_KEY_2026used for AES-256 encryption. Hardcoding cryptographic keys allows anyone with access to the source code to decrypt user save data or forge malicious save files. - [DYNAMIC_EXECUTION]: In
SKILL.md, 'Pattern 2: Binary Save System' demonstrates the use ofget_var(true). Thetrueparameter enables 'allow_objects', which permits the instantiation of arbitrary Godot objects during deserialization. This is a classic insecure deserialization vulnerability. - [REMOTE_CODE_EXECUTION]: The use of
get_var(true)on save files—which are often shared or downloaded by players—allows an attacker to craft a malicious save file that executes arbitrary code or performs unauthorized actions upon loading. - [INDIRECT_PROMPT_INJECTION]: The skill implements a significant attack surface for indirect injection via processed data files.
- Ingestion points:
load_game(),load_game_binary(), andload_encrypted()functions inSKILL.mdand referenced scripts ingest data from external files in theuser://directory. - Boundary markers: Absent. The skill lacks specific delimiters or 'ignore' instructions for the data being parsed into the game state.
- Capability inventory: The skill utilizes
FileAccessfor disk writes andget_var(true)for object instantiation, providing a high-impact capability set if the input data is compromised. - Sanitization: While
SKILL.mdmentions validation usingdata.get(), the actual implementations in the scripts lack strict schema validation or type checking for complex nested data.
Recommendations
- AI detected serious security threats
Audit Metadata