Six smart contract vulnerabilities, with code and real exploits
Six vulnerability classes that Solidity teams meet in review, each explained with vulnerable and fixed code, a real exploit linked to its post-mortem, and a checklist you can run on your own contracts.
6 minute read
ERC-4626 inflation attack: how it works and how to prevent it
How a donation to an empty vault rounds later deposits down to 0 shares, how virtual shares stop it, and how it cost Resupply $10M.
5 minute read
Reentrancy attacks in Solidity: how they work and how to prevent them
How a callback re-enters a contract before its state is final, why a declared guard is not always a working one, and what to check on every external call.
5 minute read
Oracle price manipulation: how attackers move the price your contract reads
How attackers move the price a contract reads and borrow against it, why a short TWAP over a thin pool is not enough, and what to check in every price feed.
5 minute read
Smart contract access control vulnerabilities: who can call what
How a missing check, an open initializer or a privileged contract that runs chosen calls hands control to the wrong caller, with Parity's 513,774 ETH freeze.
5 minute read
Uniswap v4 hook vulnerabilities: what to check before you deploy a hook
Why a hook callback anyone can call is the first thing to check, what the sender argument really is, and how an access control flaw in a hook played a part in Cork's $12M loss.
5 minute read
Rounding and precision errors in Solidity: why one wei matters
How a remainder that falls the user's way becomes an exploit through repetition, tiny balances or a rate that rounds to 0, with Balancer V2's loss of November 2025.
QuillShield is building the security layer between AI and money, so you can keep shipping between audits.
Sign-up is free, and new accounts get $50 in credit, good for up to half of an order.
- 1Sign up and import a repo
- 2See the exact price before anything is charged
- 3Approve it, and the audit starts