anoma / namada

Rust implementation of Namada, a Proof-of-Stake L1 for interchain asset-agnostic privacy
https://namada.net
GNU General Public License v3.0
2.39k stars 948 forks source link

Another receiver can get tokens in IBC shielding transfer with an evil IBC relayer #3438

Closed yito88 closed 2 months ago

yito88 commented 3 months ago

Currently, MASP Transaction is built by an IBC relayer(Hermes) and is used at the destination Namada. However, even if Hermes replaces the actual receiver with another receiver payment address when building MASP Transaction, Namada VPs can't check if it is built with the proper receiver.

yito88 commented 3 months ago

Users generate the proofs themselves (as 0.32 or earlier)