Ethereum

Creamed Cream – Learn the Secret Recipe (Cream Hack Analysis)

Cream Finance was hacked again on 27th October 2021. Likely for the final time. The attacker stole $130m+ worth of assets from Cream’s lending protocol. The attack was executed over multiple transactions due to block gas limits, but the bulk of it happened in this transaction. This was one of the most sophisticated and cleanly

Creamed Cream – Learn the Secret Recipe (Cream Hack Analysis) Read More »

A peek inside the MISO war room – $350m incident response story

The Bug The DutchAuction smart contract inherits the BoringBatchable utility contract that allows callers to batch different calls together. There is a commitEth function in the auction contract that uses msg.value to know the amount of ETH commited by the user. If the user commits more ETH than the contract’s capacity, the contract refunds the

A peek inside the MISO war room – $350m incident response story Read More »

Poly Network Hack Analysis – Largest Crypto Hack

On 10th August 2021, Poly Network suffered from a hack that caused a loss of over 600 million dollars. The hack happened across multiple blockchains including Ethereum, Binance Smart Chain, and Polygon. This is the largest crypto hack yet. Poly Network is a Blockchain interoperability project that allows people to send transactions across blockchains. One

Poly Network Hack Analysis – Largest Crypto Hack Read More »

A dev’s journey from Truffle 4 to the unknown world of Truffle 5

The latest version of Solidity kickstarted a season of upgrades in the BUIDL space. The latest version of solidity essentially meant that all your smart contracts are now broken. It all seemed ok though; just a couple day’s work to get caught up. Then, just before Christmas came Truffle 5 with support for solidity 0.5 and web3 beta, and

A dev’s journey from Truffle 4 to the unknown world of Truffle 5 Read More »

[Tool] Refactor your solidity 0.4.x code to solidity 0.5.x code

Solidity 0.5.X is here with a lot of features and breaking changes. Making all the changes to your solidity code manually, especially adding the explicitness requirements can be really cumbersome (and boring) for large projects. This is why I decided to make a codemod for Solidity that does most of the work for you. It’s

[Tool] Refactor your solidity 0.4.x code to solidity 0.5.x code Read More »