Security context

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

cosmwasm/wasmd
main @ 47e9cb8
12
Fixes
0
CVEs
HIGH
Peak severity
55.6%
Coverage
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
x/wasm: most-fixed (3 issues). Treat as high-risk during review.
9 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: User-submitted contract configurations could bypass chain-wide permission limits. Developers must strictly enforce that any custom instantiation configurations are a subset of default configurations when invoking code creation and storage APIs.
Denial of Service: Unbounded processing of address lists or unchecked input lengths can exhaust CPU, memory, or cause panics. Strict resource limits on address arrays, string lengths, and recursive call depth must be validated early.
Sandbox Escape: Sub-queries executing without state isolation can dirty the main execution context. Context isolation using clean, temporary cache layers is required to prevent state pollution.