godot-prompter-save-load
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
SaveManagerimplementation inreferences/json-saves.md(both GDScript and C#) usesload(entry["scene_path"])andGD.Load<PackedScene>(e["scene_path"])to instantiate game objects based on paths stored in the JSON save file. If an attacker modifies the save file to point to a malicious.tresor.resresource, Godot will execute any scripts embedded within that resource upon loading. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external data from the file system (save files in
user://), which represents an attack surface for data poisoning. - Ingestion points: The
load_gamefunction inreferences/json-saves.mdreads JSON files from the platform-specificuser://saves/directory. - Boundary markers: None are used in the provided code to isolate or validate the content of the save file before processing.
- Capability inventory: The skill uses
FileAccessfor disk I/O andload()/instantiate()for dynamic object creation. - Sanitization: While the code performs JSON structure validation, it does not sanitize the
scene_pathvalues to ensure they are restricted to a safe whitelist of project resources (e.g.,res://scenes/enemies/). - [COMMAND_EXECUTION]: The skill utilizes Godot's
FileAccessandDirAccessclasses to perform file system operations (create, read, write, delete). While these operations are targeted at the standarduser://data directory, they provide a footprint for file system manipulation based on user-supplied slot names.
Audit Metadata