Concurrency, Mutex, and Arc in Rust: A Comprehensive GuideIntroduction Imagine you’re a conductor, leading an orchestra of a hundred musicians. Each musician is playing their part, but they need to harmonize, to come together at just the right moments. This is the essence of concurrency in programming, and ...Oct 21, 2024 · 7 min readaagbotemi.hashnode.dev
Solidity Attack Vectors #8 - HoneypotA honeypot is a smart contract that purports to leak cash to an arbitrary user due to a clear vulnerability in its code in exchange for extra payments from that user. A honeypot is a trap to catch hackers. Combining two exploits, reentrancy and hidin...Jan 14, 2023 · 2 min readaagbotemi.hashnode.dev
Solidity Attack Vectors #7 - Front RunningBefore transactions are added to the block, they are first sent to the transaction pool (mempool). In the mempool, the miners mine the transaction with the highest gas fee and add it to the block before going to the transaction with the lower gas fee...Jan 12, 2023 · 2 min readaagbotemi.hashnode.dev
Solidity Attack Vectors #6 - Denial Of ServiceDenial of Service by rejecting to accept Ether. There are many ways to attack a smart contract to make it unusable. One exploit is a denial of service by making the function to send Ether fail. The solidity fallback function is executed if none of th...Jan 11, 2023 · 3 min readaagbotemi.hashnode.dev
Solidity Attack Vectors #5 - Block Timestamp Manipulation AttackA miner can manipulate the block.timestamp which can be used to their advantage to attack a smart contract. block.timestamp can be manipulated by miners with the following constraints: it cannot be stamped at an earlier time than its parent it cann...Jan 10, 2023 · 2 min readaagbotemi.hashnode.dev