Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate Asmble VM and real-time worker / batch validator process #340

Closed
xdralex opened this issue Jan 14, 2019 · 0 comments
Closed

Separate Asmble VM and real-time worker / batch validator process #340

xdralex opened this issue Jan 14, 2019 · 0 comments
Assignees
Labels
architecture type: architecture enhancement scala tech: scala ~worker component: worker
Milestone

Comments

@xdralex
Copy link
Contributor

xdralex commented Jan 14, 2019

Currently, we have the following design: docker { jvm { node <----> Asmble {untrusted WebAssembly code} } }. However, because real-time workers participate in Tendermint consensus and batch validators participate in verification signing, this has potential security issues.

In particular, if a malicious piece code breaks from Asmble VM, it might be able to double vote in Tendermint consensus or confirm an incorrect batch – which are punishable activities in the network.

I think that to improve security the following design should be adopted instead:
dockerA { jvmA { node } } <----> dockerB { jvmB { Asmble {untrusted WebAssembly code} } }. This way we have more security layers, which should significantly decrease the probability of malicious code harming the miner.

@alari alari added enhancement ~tendermint component: tendermint ~worker component: worker scala tech: scala architecture type: architecture and removed ~tendermint component: tendermint labels Feb 12, 2019
@alari alari added this to the !verification milestone Feb 14, 2019
@alari alari closed this as completed Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture type: architecture enhancement scala tech: scala ~worker component: worker
Projects
None yet
Development

No branches or pull requests

3 participants