mangrove.js icon indicating copy to clipboard operation
mangrove.js copied to clipboard

Ensure that events are only received from the expected addresses (eg Mangrove)

Open espendk opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. If mangrove.js does not check that events are emitted from particular addresses, malicious contracts might be able to trick mangrove.js into a misleading state by emitting events that match those of Mangrove. This could in turn mislead users and put their funds at risk.

Describe the solution you'd like All event listeners in mangrove.js should be reviewed and updated to listen to specific addresses (if they don't already).

Describe alternatives you've considered N/A

Additional context N/A

espendk avatar Dec 07 '22 15:12 espendk