opensea-js icon indicating copy to clipboard operation
opensea-js copied to clipboard

Seaport order creation endpoint is not checking considerationFeeItems[0].recipient's integrity

Open BatuhanK opened this issue 4 years ago • 3 comments

Hello, with this sdk anyone can make create listing on opensea mechanism to their website and build tools around it (like bulk listing, copy listing etc.).

considerationFeeItems[0].recipient parameter on POST /orders endpoint is not checking considerationFeeItems[0].recipient so people might think that they created an listing on opensea but when this listing is fulfilled, all the money can be transferred to considerationFeeItems[0].recipient.

Here is a thread: https://twitter.com/batuhan_katirci/status/1531253897700032512 (example txn's can be found here)

BatuhanK avatar May 30 '22 13:05 BatuhanK

@jtaaa @janclarin

BatuhanK avatar May 30 '22 13:05 BatuhanK

hey @BatuhanK thanks for flagging, we will add validation to ensure malicious orders such as these cannot be posted through our API

jtaaa avatar May 30 '22 13:05 jtaaa

@BatuhanK issue is resolved

cterech avatar Jun 01 '22 17:06 cterech