WeSearch

Opening calc.exe from the S&Box C# sandbox

·15 min read · 0 reactions · 0 comments · 11 views
#gaming#programming#security
Opening calc.exe from the S&Box C# sandbox
⚡ TL;DR · AI summary

The article discusses the open-source game development platform S&Box and its use of C# for scripting. It highlights the security concerns associated with executing untrusted C# code and the methods used to mitigate risks. The author shares personal experiences while attempting to run and modify code within the S&Box environment.

Key facts
Original article
Slugcat
Read full at Slugcat →
Opening excerpt (first ~120 words) tap to expand

How to open calc.exe from S&Box Thursday May 21, 2026 So, S&Box went “open source”. I don’t personally have any interest in the platform, but I did have interest in how they securely execute C# code… So S&Box is “Garry’s Mod 2”, or maybe it’s Roblox Source 2, I really don’t care about it directly. The thing that’s relevant to me is that instead of using Lua or something, they use full powered C# for game scripting. C#/.NET is not Lua: it is not designed to run untrusted code, so how do they get away with it? The solution is quite simple: they scan your code and block loading it if you use any APIs like File.Open(). Now, is this secure? Well… To be clear: if you are a security-minded person, this is an atrocious idea.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Slugcat.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Slugcat