godot-modding-dlc
Pass
Audited by Gen Agent Trust Hub on Nov 23, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The mod loader implementation in
references/patterns.mduses theload()function andnew()constructor to dynamically execute GDScript files (main.gd) discovered in external mod directories at runtime. This provides a mechanism for running arbitrary code within the game process context. - [INDIRECT_PROMPT_INJECTION]: The skill architecture is designed to ingest and process untrusted external data and scripts which can influence or override game behavior.
- Ingestion points: The
_discoverand_mountfunctions scan and load content fromuser://modsand the application's executable directory. - Boundary markers: No technical isolation or sandboxing is implemented for loaded scripts; the skill relies on a manual user warning. A
ModApiclass is provided to scope mod interactions, but it does not prevent access to the underlying unrestricted GDScript environment. - Capability inventory: The system can mount resource packs that override game files (
ProjectSettings.load_resource_pack), execute arbitrary GDScript, and access filesystem or OS APIs. - Sanitization: While JSON data is parsed and checked, script execution lacks sanitization or privilege restriction.
Audit Metadata