astaria-core icon indicating copy to clipboard operation
astaria-core copied to clipboard

NFT blacklisting attack test

Open dangerousfood opened this issue 2 years ago • 1 comments

  1. WithdrawProxy Blacklisting
  • Craft a test of an NFT
  • commitToLien
  • Configure a liquidation to happen to a withdrawProxy
  • Bid on auction and settlement fails
  • Wait till after finalAuctionEnd
  • call claim() and then redeem()
  • validate that the LP lost the proportional value of the NFT
  • validate that the PublicVault lost the proportional value of the NFT
  • validate that the PublicVault yIntercept reflects the lost proportional value of the NFT
  • validate that the PublicVault totalAssets() reflects the lost proportional value of the NFT
  1. PublicVault Blacklisting
  • Craft a test of an NFT
  • commitToLien
  • Configure a liquidation to happen without a withdrawProxy
  • Bid on auction and settlement fails
  • Wait till after finalAuctionEnd
  • validate that the PublicVault lost the proportional value of the NFT
  • validate that the PublicVault yIntercept reflects the lost proportional value of the NFT
  • validate that the PublicVault totalAssets() reflects the lost proportional value of the NFT

dangerousfood avatar Feb 22 '23 20:02 dangerousfood

@dangerousfood is this still available to work on? Would love to give it a shot :)

ameya-deshmukh avatar Mar 30 '23 09:03 ameya-deshmukh