godot-genre-roguelike
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFECREDENTIALS_UNSAFEOBFUSCATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/meta_stats_resource.gduses a hardcoded encryption keyCRYPTO_KEY = "expert_godot_roguelike_key"for thesave_encrypted_passfunction. While providing a functional example for local save protection, hardcoded keys can be easily extracted from the compiled binary. Additionally,scripts/meta_progression_manager.gdcontains a placeholderSECRET_KEY = "CHANGE_ME_IN_PROD"intended for developer replacement. - [OBFUSCATION]: The
scripts/meta_progression_manager.gdscript utilizesMarshalls.utf8_to_base64andMarshalls.base64_to_utf8to encode local save files (user://meta_progression.save). The skill explicitly describes this as a method to deter casual save-file editing by players, which is a standard game development pattern rather than an attempt to hide malicious code. - [INDIRECT_PROMPT_INJECTION]: The skill implements systems to process untrusted data from local save files and user-provided seeds, creating an attack surface for indirect injection.
- Ingestion points: Data is ingested via
load_run_state()inscripts/json_state_serializer.gdandload_progress()inscripts/meta_progression_manager.gd, as well as theseed_valparameter inscripts/run_manager.gd. - Boundary markers: No specific delimiters or validation warnings are used to isolate the data from the logic flow.
- Capability inventory: The skill has capabilities to write to the file system (
user://) and execute asynchronous tasks viaWorkerThreadPool. - Sanitization: The skill relies on
JSON.parse()for structural validation, which prevents malformed data but does not sanitize the logical content of the resulting Dictionary objects.
Audit Metadata