# Borrow Logic Exploit attacks 

By [Alex Obchakevich](https://paragraph.com/@obchakevich) · 2023-05-03

---

**How can I secure my project from an attack?**

Ways we can secure our smart contract 👇

1/ Constantly updating the code and bringing it up to date with the latest security standards and security recommendations of DeFi protocols

2/ Limiting the number of tokens that can be pledged by the borrower. This may reduce the possible damage in case of an attack, but does not guarantee the complete security of your smart contract.

3/ Auditing project contracts by security experts to identify potential vulnerabilities and risks associated with token borrowing. Conduct frequent bug bashing to find vulnerabilities and bugs. Incentivize users with monetary rewards for finding even the smallest bugs and vulnerabilities.

Each type of attack requires a different approach to auditing and testing. As practice shows, big auditing companies do not guarantee the security of your smart contract, so a security audit should be performed very often, even if you are sure of complete security (although this is not the case).

**_Example Borrow Logic Exploit attacks:_**

[https://twitter.com/BlockSecTeam/status/1636650252844294144](https://twitter.com/BlockSecTeam/status/1636650252844294144)

Leave your likes and comments. Let's make the crypto space safer and more environmentally friendly together.

**Twitter Thread:**

[https://twitter.com/obchakevich\_/status/1653406053525082112](https://twitter.com/obchakevich_/status/1653406053525082112)

---

*Originally published on [Alex Obchakevich](https://paragraph.com/@obchakevich/borrow-logic-exploit-attacks)*
