save-load
Warn
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The implementation in
references/json-saves.mdusesload(entry["scene_path"])followed byscene.instantiate()to recreate objects from save data. Because thescene_pathis retrieved directly from the JSON save file located in the user-writableuser://directory, this creates a vulnerability where an attacker could modify the save file to point to a different resource or script-carrying scene within the project, leading to arbitrary code execution when the game loads the tampered save. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external save data which represents an attack surface for indirect instructions or data-driven exploits.
- Ingestion points:
load_gamefunction inreferences/json-saves.mdreads JSON files from the local filesystem. - Boundary markers: None; the implementation assumes the JSON structure is trustworthy.
- Capability inventory: The skill uses
FileAccessfor reading and writing, andload()/instantiate()for resource management. - Sanitization: The code performs a basic null check after loading a resource but does not validate that the
scene_pathbelongs to an allowed set of scenes.
Audit Metadata