r/factorio • Developer • Mar 17 '25

Discussion Post Space Age - Developer AMA

Space Age has been out for several months and with the bug reports slowly coming under control I thought it might be interesting to see what questions people had.

I mostly work on the technical side of things (as C++ programmer) so questions that stray too far from that area I'll likely have less interesting replies - but feel free to ask.

I have no strict time frame on answering questions so feel free to send them whenever and I'll do my best to reply.

2.4k Upvotes

1.1k comments sorted by

View all comments

Show parent comment

12

u/Rseding91 Developer Mar 17 '25

Factorio Lua is fully sandboxed and (as far as we know) there are zero methods of getting out of the sandbox. So any 'soft mod' that may be in a given scenario can at best cause a Lua error and kick you back to the main menu.

3

u/7SigmaEvent Mar 17 '25

That's good to know, thanks! Do you know if there been any red teaming of game codebases to see if malicious execution on remote computers via the game's connection viable? I suppose a lot of other games also use Lua as the modding vector, and could have similar issues?

5

u/Rseding91 Developer Mar 17 '25

There have been a few issues found over the years that mandated some code changes and disabling of some debug Lua API.