code-423n4 / 2021-04-vader-findings

1 stars 0 forks source link

Weird calculation of Vader/USD price #281

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

a_delamo

Vulnerability details

Here you have more information: https://gist.github.com/alexon1234/2a63128fe756586700a26f02bcd2e01e

strictly-scarce commented 3 years ago

Not valid.

VADER assumes the 5 anchors are listed being stablecoins, and allows anyone to swap them out if they collapse out of the median (95%). Thus they will always be stablecoins. The median price is thus the median of 5 stablecoins.

dmvt commented 3 years ago

duplicate of #213