| cloudpickle serializes code without signatures; which is an RCE vuln. It is much safer to distribute signed code in signed packages out of band and send only non-executable data in messages. It is more safe to store distributed messages in a page with the NX bit flipped. A compromise of any client in this system results in DOS and arbitrary RCE; but that's an issue with most distributed task worker systems. To take a zero trust approach, you can't rely on the shared TLS key or the workers never being compromised. mDNS doesn't scale beyond a broadcast segment without mDNS repeaters (which don't scale) which are on multiple network segments. Something centralized like Dask, for example, can log and track state centrally to handle task retries on network, task, and worker failure. But Dask doesn't satisfy zero trust design guidelines either. How are these systems distinct from botnets with a shared TLS key and no certificate revocation? |