Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
pallets/entity: 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: The registry pallet has suffered from multiple auth bypasses due to incorrect bitmask validations and unsafe default fallbacks (unwrap_or_default) for missing delegates, allowing unauthorized administrative actions.
Auth Bypass: Queries for non-existent delegates in the collection pallet fell back to default permissions, granting unauthorized capabilities. Explicit empty permission sets must be returned instead.
Denial of Service: Unbounded vector storage on identity attributes allowed resource exhaustion attacks, requiring strict enforcement of BoundedVec with runtime limits.