Second life is a MMORPG that’s not so much focused on killing and owning, but creating and interacting with others and the environment created by others.
One of the things that was surprising to me was that people seemingly easily scripted complex behaviors into the objects that existed in the second life world. I had often thought that it would be neat to incorporate that into an MMORPG so that people can be blacksmiths or at least spellcrafters.
However, I would wonder if it was possible for people to use the in-game programming language to invoke computation and behaviors on the machine that’s running the virtual world.
In every sense, it is very much like asking how secure is a virtual machine running virtual code on a machine? Is there a branch of computer science that studies this?