Answer the questions below:
- What is DAO?
- What function had the vulnerability?
- Why was the hard fork initiated?
Answer the questions below:
- What is DAO?
Decentralized
Autonomous
Organization
- What function had the vulnerability?
Child DAO creation.
- Why was the hard fork initiated?
Some community members have disagreed with the decesion of ethereum founders to refund the loss to the hack victims (as it kind of violates the immutability concept of the blockchain technology).
What is DAO?
Decentralized/distributed autonomous organizations, governed by smart contracts
What function had the vulnerability?
‘Split’ function, which allowed attacker to recursively call the function and withdraw money many times.
Basically it allowed a way to retrieve the Ether first and update the balance late.
Attacker managed to recursively call the split function and retrieved their funds multiple times before getting to the step where the code would check the balance.
Why was the hard fork initiated?
To retrieve stolen funds from DAO hack
What is DAO?
A virtual venture capital investment fund governed by the investors
What function had the vulnerability?
THe DAO Split function
Why was the hard fork initiated?
To rollback the hacker’s transaction and return the stolen funds.
DAO is an acronym for decentralized autonomous organization. It is a system of governance maintained by a series of smart contracts working in conjunction to reach an agreed upon goal. The DAO was a virtual venture capital fund relying on smart contracts to deploy its collected assets. Investors traded ETH for DAO tokens, pooled their funds together, and voted on investment proposals using their DAO tokens. If proposals passed a curator check and was approved by 20% of all collected DAO tokens, the smart contract representing the proposal received the investment funds.
The split function, which any token holder could initiate at any time to retract their funds from the proposal agreed upon by the majority. However, the function was written to initiate the transfer first and updated the smart contract after the funds were withdrawn. Therefore, the split function could be called in rapid succession to retrieve the funds until it eventually failed and finally updated the balance.
It was the only way to return the funds taken by the bad actor to the original investors, which the majority of the Ethereum community agreed was the proper course of action. A soft fork was the first alternative, but it would pose additional security flaws if carried out.
What is DAO?
A DAO is another computer code through which a set of smart contracts are connected together and function as a governance mechanism.
What function had the vulnerability?
Once a split function is called, the code was written in a way to retrieve the Ether first and update the balance later. Additionally, it was not checking whether there was a recursive call, which is an expression used to indicate a function that calls himself.
Why was the hard fork initiated?
Doing nothing and soft fork were canceled by the community. The majority voted for hard fork.
DAO Hack
What is DAO?
Decentralized Autonomous Organization
What function had the vulnerability?
The smart contract recorded the refund after the funds were transmitted to the child DAO allowing the attacker to initiate a recursive request to repeat the refund transfer request before the original refund transaction was recorded within the smart contract ledger.
Why was the hard fork initiated?
To overwrite the transactions initiated by the attack, return the multiple refund requests to the investors, and to facilitate a reboot of the contract after completion of a soft fork to ensure refund requests are recorded within the ledger prior to commuting said funds into the child DAO to prevent a “Recursive Call Exploit”.
Distributed Autonomous Organizations. A DAO is another computer code through which a set of smart contracts are connected together and function as a governance mechanism.
The transfer function when the chain was splitted into child contracts for the minority.
To roll back the chain and made de transactions with stolen funds invalid.
What is DAO?
Decentralized Autonomous Organization
What function had the vulnerability?
Creation of child DAO.
Why was the hard fork initiated?
To send back stolen funds.
What is DAO?
DAO stands for distributed autonomous organizations, in this article it refers to a smart contract. The purpose of this smart contract was to raise fund to support projects.
What function had the vulnerability?
splitDAO
function was vulnerable to a reentrancy attack, by creating a new proposal the attacker was able to create a child Dao and drain more fund that he was suppose to. We can see here why the check effect interaction pattern. is important.
Why was the hard fork initiated?
The hard fork was initiate because there was a debate between the Ethereum core developer. Some though that code is law and the blockchain should stay immutable and they don’t want to modify the state of the chain. On the other side as a lot of money was involved and an other part of the community want to fork the chain before the work happen to give back the fund to the users.
This decision was made as there was no other way to get back the fund the attacker took.
DAO stands for distributed autonomous organizations. It is a organization that is governed by smart contracts.
The “split” function
The hard fork on the ethereum blockchain was initiated to overwrite the history and restore the stolen ethers. This reversed the all transactions happened after the starting point of the work.
What is DAO?
A regular DAO stands for decentralized autonomous organization and is essentially an organization governed by code. The DAO (referring to the DAO hack) was a venture capital fund run by smart contracts.
What function had the vulnerability?
The split function held the vulnerability for the re-entry attack or “recursive call exploit.”
Why was the hard fork initiated?
The hard fork was initiated because the DAO’s investors lost a lot of money and the majority of the community agreed they should do something–even though this violates the “code is law” ethos from whence Ethereum was founded.