> For the complete documentation index, see [llms.txt](https://tbct-community-1.gitbook.io/tbct-introduction/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tbct-community-1.gitbook.io/tbct-introduction/tips-and-risk/anti-flash-loan-attacks.md).

# Anti Flash Loan Attacks

Among all security risks associated with DeFi projects, a flash loan attack is the most common and damaging one.&#x20;

As such we designed unique mechanics to prevent flash loan attacks from two perspectives:

1. We restrict direct access from 3rd party smart contracts unless they go through our due diligence and pass our security check
2. We set the max transaction limit per block to ensure no flash loan attacks can profit from dumping large amounts of  TBCT to profit within one block
