3 ms·
Ask HN: Running Untrusted Code as a Service?
Hi, I'm surprised I'm not targeted with Google ads when I ask this question, but I can't find what I'm looking for and so I'm turning here:
I need some way to pass an untrusted shell script (user generated) to a Linux / Windows / Mac environment and get the results. Is there some startup or AWS service that offers this? What I want is AWS with more runtimes and security guarantees...
- eimrine 3y agoWhy not to use virtual machines for this?
- mtmail 3y agoThe untrusted code might try to access the host machine. Or run an endless loop, or fill the disk. I think OP is looking for a service that would deal with these edge cases (timeouts, resource limits, extra security layers).
- gtirloni 3y agoA previous discussion about this use case here: https://news.ycombinator.com/item?id=32317520 https://news.ycombinator.com/item?id=32317520 Firecracker[0] always turns up in these discussions. Also check Kata containers[1] 0 - https://aws.amazon.com/blogs/aws/firecracker-lightweight-virtualization-for-serverless-computing/ https://aws.amazon.com/blogs/aws/firecracker-lightweight-vir... 1 - https://katacontainers.io https://katacontainers.io
- whodev 3y agoWhy not use https://any.run https://any.run?