I was reading up on modding support for godot, and got to the conclusion that it is certainly possible, only problem is if you allow GDscripts to be executed from mods it allows anyone to make malicious code (deleting files from the system, executing arbitrary code, etc)
Would it be possible to parse through the imported scripts with "File.getastext()" before integrating them to the game and filter all OS and security related functions, classes and variables? What would those classes and functions be?
It could be a lot easier than making a custom script language for modding the game
PD: Not asking for any particular project, just wondering and maybe give help to anyone searching for solutions