Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

lidofinance/lido-council-daemon
develop @ 3db0f71
10
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/contracts/security/security.service.ts: most-fixed (2 issues). Treat as high-risk during review.
7 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Two high-severity fixes removed support for deprecated DSM versions and made version checks fail-closed, preventing downgrade attacks that could bypass security logic.
Integrity Bypass: Deposit root integrity was only checked at load time, allowing tampered cached events to be processed; moving the check to deposit time closed this bypass.
Logic Flaw: Deposit gating logic omitted unresolved duplicated keys, allowing deposits to proceed despite unresolved duplicates; the fix added them to the block list.