Security context

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

public-awesome/stargaze
main @ 2825fe0
10
Fixes
1
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
x/globalfee/types/keys.go: most-fixed (4 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: A critical state key collision existed because the prefix key construction for contract authorizations incorrectly used the code authorization prefix. This allowed overlapping namespaces, resulting in potential permission bypasses or authorization overrides.
Access Control: The global fee module was vulnerable to state pollution because it allowed authorization registrations for code IDs and contract addresses without verifying if those WASM entities actually existed in the state.
Auth Bypass: Protobuf definitions failed to include the cosmos.msg.v1.signer option, which could result in transactions bypassing necessary signature verification layers within the Cosmos SDK message router.