Review Governor, timelock, and upgrade-via-governance: delay bypass, proposal hijack, snapshot vs flashloan votes, queue/execute hash mismatch. Use for OZ Governor, custom DAOs, and admin multisigs.
Installs into .claude/skills of the current project.
Are you the author of Reviewing Governance And Timelocks?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nuroctane-reviewing-governance-and-timelocks)
---
name: reviewing-governance-and-timelocks
description: "Review Governor, timelock, and upgrade-via-governance: delay bypass, proposal hijack, snapshot vs flashloan votes, queue/execute hash mismatch. Use for OZ Governor, custom DAOs, and admin multisigs."
---
# Reviewing governance and timelocks
In-scope. Do not grief a live DAO.
## Timelock
- `queue` hash = target + value + data + salt + eta.
- `execute` only after delay; cancelled ops cannot execute.
- Admin of the timelock vs proposer vs executor roles. A hot EOA executor is a finding if the docs claim a delay.
## Governor
- Vote snapshot must be **before** the proposal (flashloan votes).
- Quorum and threshold math; 0 supply edge.
- `relay` / `updateTimelock` / `setProposalThreshold` access.
- Proposal hijack: if description is not hashed into the id the way OZ does, two payloads can collide.
## Upgrade path
Governance that can `upgradeTo` is a crown jewel. Combine with `reviewing-upgradeable-proxies`.
## Short delay vs TVL
A 1-hour delay on a $100M vault is a product finding; say so as Medium/QA unless the program forbids governance design comments.
Tests: `test_RevertWhen_ExecuteBeforeDelay`, `test_RevertWhen_FlashloanVotes` (snapshot).
## Paid bounty analogs
| Note | Protocol | Pack | Whitehat |
|------|----------|------|----------|
| Immunefi / OZ advisory | OpenZeppelin Timelock reentrancy | T21 | also-paid cluster |
| High, funds not at risk | Lido Dual Governance | T21 | 0xriptide |
Beanstalk 2022 **hack** is T22 flash-loan votes (`case-cards.md` 7.11). Do not file it as a paid bounty analog.