Ask HN: Running Untrusted Code as a Service?

by tomasreimerson 2/3/2024, 2:40 PMwith 4 comments

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...

by gtirlonion 2/3/2024, 2:51 PM

A previous discussion about this use case here: 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-vir...

1 - https://katacontainers.io

by whodevon 2/5/2024, 6:08 PM

Why not use https://any.run?

by eimrineon 2/3/2024, 2:48 PM

Why not to use virtual machines for this?