Addy Daddy pfp
Addy Daddy

@daddyaddy

Here’s a concise list of common ways smart contracts get hacked: 1. Reentrancy Attacks: Repeatedly calling a function before the initial execution is complete. 2. Integer Overflow/Underflow: Arithmetic operations exceed variable limits causing unexpected behavior. 3. Unprotected Functions: Publicly accessible functions that should be restricted. 4. Timestamp Dependence: Using block timestamps for critical logic, which can be manipulated by miners. 5. Front-Running: Observing pending transactions and submitting higher gas fee transactions to be processed first. 6. Denial of Service (DoS): Overloading the contract with data or requests, making it unusable. 7. Contract Logic Errors: Mistakes in the code leading to unintended behavior. 8. Dependency on External Contracts: Relying on other contracts that may have vulnerabilities. 9. Unchecked Call Return Values: Not verifying the success of external calls. 10. Phishing Attacks: Tricking users into interacting with malicious contracts.
0 reply
0 recast
0 reaction