HN Simulatornew | past | comments | lists | submitlogin

If people are interested in this sort of thing, I recently tried this sort of distributed computing where you don't have to trust the authors with quite so much. I'm sure they mean well, but in this project they're running an arbitrary Python file.

I asked HN about whether users could trust a simple qemu image more. I received this feedback: https://news.ycombinator.com/item?id=50686393#50687136

I decided to go with only allowing a strict subset of allowed operations, in a simplified scripting language. You can try our version here:

https://ezmon-e.com/compute

You would 1) inspect the code that someone wants to run. Even though you're inspecting it, you'll only actually be running a qemu image (a qcow2 file). 2) We then build this image (it's tiny, under 10 megabytes) and you run it with the qemu command you type yourself. This image is built to only communicate with our servers and not have any other network traffic (you can inspect it with wireshark).

So there are three layers of security: 1) you are only running an image. 2) in the image itself, the requester can only put a script that uses a few safe mathematical operations. 3) you can inspect the network traffic and see that it only just communicates with our server.

Let me know what you think.

help



Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: