Submit a request Sign in
 
Logo Logo
Categories
Submit a request
Sign in
Indodax Academy Blog Indodax INDODAX.COM

What is Reentrancy Attack?

  1. INDODAX
  2. Information
  3. Digital Asset

browse

Reentrancy Attack is a type of attack against smart contracts where an attacker repeatedly calls functions external to the contract before the previous transaction has finished processing.

This allows the attacker to drain funds or change the state of the contract in an undesirable way before the contract realizes the previous state change.

A reentrancy attack occurs when a smart contract calls another contract before updating its own state. In this attack, the attacker can make a series of re-calls to the original contract, so that the contract continues to transfer funds without realizing that the value inside has been reduced.

This kind of attack often occurs on smart contracts written with loopholes in their programming logic. To prevent these attacks, developers typically use design patterns such as “checks-effects-interactions,” “The security team discovered a reentrancy attack loophole in our contract that could allow the theft of funds.”

    Articles in this section

  • Frequently Asked Questions (FAQ) of Alarm Price Feature
  • What is dKargo (DKA)?
  • What is the FIO Protocol?
  • How do I see the volume of digital assets available on the Indodax market?
  • How do I see my transaction volume on Indodax?
  • What is Sybil Attack?
  • What are Ommer Blocks?
  • What is Movement Crypto?
  • What is Virtual Protocol Coin?
  • What is Atomic Wallet?

Related articles

  • What is a Smart Contract Audit?
  • What is the difference between On-Chain and Off-Chain?
  • How to Check ERC20 Transactions on a Blockchain
  • What is the difference between Hashing and Encryption?
  • What is a nonce in blockchain?

Promoted articles

  • BCA Virtual Account Payment Guideline
  • Frequently Asked Questions (FAQ) of Alarm Price Feature

Was this article helpful?


Have more questions ? Submit a Request
×
Logo
English (US) Bahasa Indonesia 简体中文
Indodax.com © 2022