forta-network / starter-kits

MIT License
63 stars 38 forks source link

Flashloan Detection Bot-FP #567

Closed Olugbenga2000 closed 7 months ago

Olugbenga2000 commented 7 months ago

Attacker - 0x479e618e0f214100a2ea3418c4911e26ffc37795
AD alert - https://app.forta.network/alerts/0x95beabd15c9289894c4b625a7f2a2813f1201ebff92b416ec583d5410247fe15 Base bots - suspicious-contract-creation, malicious-smart-contract and Flashloan Detection Bot potential cause - The bot flagged a debt liquidation tx on exactly protocol

Ivan1905 commented 7 months ago

@Vxatz do you believe this is coming from the flashloan bot? Indeed a flashloan happened in the tx though it was not an attack.

Vxatz commented 7 months ago

I added a check to filter out the two liquidate functions used in this: liquidate(uint256) liquidate(address,uint256,address)

Thisisgeorg3 commented 7 months ago

Should I close? @Vxatz

Vxatz commented 7 months ago

@Thisisgeorg3 , since we're still testing other changes to the bot, let's leave it open until it's deployed

Vxatz commented 7 months ago

Fixed in https://github.com/NethermindEth/forta-starter-kits/pull/96.