|
|
|
|
|
by joshribakoff
4 days ago
|
|
If the cluster was configured to allow any untrusted participant to run arbitrary workloads on the cluster it could then send malicious network traffic from your IP. You can’t safely assume no threat vector just because there is a sandbox involved! |
|
So it's up to the JavaScript code launching the WASM how much the WASM can do.
I think I read somewhere else here that this project doesn't expose this ability to the "pods", but instead tunnels any network requests from the emulated Linux side back to the server?
Not sure if this is correct, but it would be necessary anyway if you wanted to enable intra-cluster communication like in a real Kubernetes cluster. E.g. the code inside a pod might do something like "curl http://some-other-service.main" . In a real cluster, this would be routed to another pod where an instance of the other service is running. In this browser version, some JavaScript would have to tunnel the request through the websocket connection somehow.