What Are the Security Risks Associated with Private Computation on a Blockchain?
Key risks include potential bugs in the complex cryptographic proofs (ZKPs), which could allow a malicious actor to generate invalid proofs and commit fraud. Additionally, if the trusted setup for a zk-SNARK is compromised, it could undermine the entire system.
There is also the risk of front-running if the inputs are revealed just before the transaction is executed, even with privacy layers.