Smart Contract Audit — Governance DoS Vulnerability Description: Discovered a High-severity invariant violation in a DeFi governance contract. The removeNominee function leaks decay slope, causing totalWeight to reach zero prematurely and permanently halting all reward distributions. Verified with a full Foundry proof-of-concept.
In testing I deleted one row from the middle of my audit log. Row 150, out of about 320. The next check caught it right away: row missing, sequence gap at 150. An alert landed in Telegram.
Then I tried the harder case. I deleted the last row, where there's no next row to break the chain. It didn't help. The saved head said 319, the table had 318, and the check flagged it.
Every action on an invoice goes into this log: who did it, when, and the file's hash. Each row carries the hash of the row before it. If someone deletes or edits a row, you'll see it at the next nightly check.
The video walks through the whole invoice flow on a working demo built for freight and logistics teams.
How would you find out today if someone changed a payment record?
Introducing Bollard UI
Forms don't just need validation. They need a second look at the moments that matter.
Bollard is a library of 341 open source shadcn components that catch the mistake before your users make it:
The extra zero in a payment
The gmial.con typo at sign-up
The delete that needed a real confirmation
The AI agent action that needs a human to approve
One command installs a guard. The source is yours to edit.
npx shadcn@latest add @bollard/amount-input
Free, MIT licensed