microsoft/mxc ? reverse-engineered prompt
Reverse engineered prompt
Build me a sandboxed code execution system called MXC that can safely run untrusted commands on Windows, Linux, and macOS.
I want one clean API that my app can call with a command, some safety rules, and a timeout, then it should launch that workload inside the right kind of isolated environment for the current platform. It should support basic controls for files, network access, and simple UI access like clipboard or display permissions. If possible, include support for a few different isolation options depending on the OS, and make it easy to choose the default one automatically.
Please also add simple SDKs and examples so I can try it from Rust, Node, and .NET, plus a command line runner that can take a JSON request file and execute it. I’d like a couple of sample workloads, basic diagnostics for access denied problems, and clear README style docs so someone can understand how to use it without reading the whole source. If you need to, look up the current docs online while building it.
Are you gonna build this?
make sure you review the code using coderabbit