# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tbct-community-1.gitbook.io/tbct-introduction/tips-and-risk/anti-flash-loan-attacks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
