Magi Sandbox - a sandboxing tool for CC:Tweaked

Started by Tsuyut, Sep 23, 2025, 05:06 PM

Previous topic - Next topic

Tsuyut

I present to you a tool named MagiSandbox, its features are the following:

-> FS simulation AND virtual FS aswell as limited file access in the sandbox directory (yay yeepee)
-> Automatic timeout to avoid most of the resource-intensive malicious programs
-> And way more!

How to download:
wget https://raw.githubusercontent.com/Izgip/m4g1s4ndb0x/refs/heads/main/magisandbox.lua
How to use:
magisandbox [level you want of sandbox (0 is none/admin for trusted apps, 1 is low, 2 is medium, 3 is high, 4 is untrusted] [file you want to execute]
P.S.: The tool is still in beta and it works for CLI apps but not for GUI ones like worm. I strongly discourage the use of untrusted lua apps EVEN under sandboxing as this is obviously still in beta and has literally like 9999 ways of bypassing it. I advise any one knowing how to build viruses for CC:Tweaked OR anyone able to fix the GUI problem to give a quick fix either here: https://github.com/Izgip/m4g1s4ndb0x/tree/main or in this thread.

Thank you for reading, Tsuyut out.