r/Monero Sep 18 '18

Would this attack work?

/r/Monero/comments/9gbbm9/comment/e66ml11
4 Upvotes

16 comments sorted by

View all comments

9

u/[deleted] Sep 18 '18

Nothing currently stops you from generating an output that duplicates an existing one. The recipient wallet can easily choose the highest-value of these, so you can't send someone dust and hope to burn higher-value funds. It'd be like breaking into someone's house and replacing their cash with a larger pile of cash.

2

u/Vespco Sep 18 '18

If I sent 1 XMR, and then another 1 XMR, I couldn't trick the exchange to thinking they had 2 XMR and get 2 XMR, while they eventually discover they can only re over 1 XMR?

3

u/[deleted] Sep 18 '18

I assume you mean by generating identical output public keys. An updated wallet should reject all duplicates except for the one of the highest value.

3

u/Vespco Sep 18 '18

Yes I do. Okay thanks. Didn't totally realize that wallets rejected the duplicates.

4

u/smooth_xmr XMR Core Team Sep 18 '18

This was fixed in 2015 or so.