Concepts
Risk score
How the 0–100 rule load and A–E grade are computed for composed and unknown hooks.
The risk score measures how far a pool's rules can move a trade or a liquidity position away from a plain v4 pool. It is a reading aid, not an audit and not a safety rating of the code.
For a composed rule set
| Factor | Max points | Based on |
|---|---|---|
| Hook permissions | 35 | Weighted callbacks the rules need |
| Steady take per buy | 25 | Extra take above the LP fee, full points at 10% |
| Opening window | 15 | Guard tax, full points at 50% |
| Fee movement | 10 | Range of a size-scaled fee |
| LP exits | 10 | Founding liquidity lock |
| Unreleased code | 5 | Any planned module |
For an unknown hook
When the scanner reads a hook it did not compose, it only knows the address bits, the pool fee and whether bytecode exists. It scores permissions (40), delta rights (25), LP exit control (10), dynamic fees (10) and unknown code (15).
| Grade | Score | Label |
|---|---|---|
| A | 0–20 | Light rules |
| B | 21–40 | Moderate rules |
| C | 41–60 | Active rules |
| D | 61–80 | Heavy rules |
| E | 81–100 | Extreme rules |