manifoldfinance / defi-threat

a globally-accessible knowledge base of adversary tactics and techniques based on real-world observations on decentralized finance
Mozilla Public License 2.0
487 stars 53 forks source link

catalog: adding uniswap honeypot to defisec catalog #4

Closed sambacha closed 4 years ago

sambacha commented 4 years ago

Signed-off-by: sam sam@freighttrust.com

From user: "adrian | deepyr" [Sep 4, 2020 at 9:46:29 PM]: https://www.eveem.org/code/0x029177c1fD6190A8DFc85d9A3E13bF78581Bd3D6

if stor6 < 10:
      stor6++

Then later in the transfer

if stor6 > 3:
      if _from != _owner:
          revert with 0, 32, 34,

https://etherscan.io/find-similar-contracts?a=0x029177c1fd6190a8dfc85d9a3e13bf78581bd3d6&lvl=5 https://etherscan.io/address/0x1c72e0fbf8beb4e933c86cbb5d7b84879cd0fe69