Not So-Famous Solidity Attack Vectors, often missed/overlooked while Auditing!
summary
Shows specific, verified pitfalls: compilers <0.8 let high‑order calldata bits inflate an expected uint8; appending extra calldata bytes breaks hash‑based uniqueness so the same parameter can bypass “used” checks; two distinct CTFs (Maya, King variants) demonstrate gas griefing where subcalls or malicious returnDataCopy exhaust top‑level gas to silently skip token transfers or DETHRONE logic; a read‑only oracle returns different values under lower gas, fix by caching; a practical metamorphic contracts pattern uses self‑destruct + CREATE2 to replace code at the same address (state lost), seen during an audit.
AI-written summary · about
