Settings

Theme

Ask HN: Running Untrusted Code as a Service?

5 points by tomasreimers 2 years ago · 4 comments · 1 min read


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

gtirloni 2 years ago

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

whodev 2 years ago

Why not use https://any.run?

eimrine 2 years ago

Why not to use virtual machines for this?

  • mtmail 2 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection