Security context

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

gonka-ai/gonka
main @ 8a35022
15
Fixes
0
CVEs
CRITICAL
Peak severity
42.9%
Coverage
Highlights
Denial of Service: 4 prior fixes. Scrutinize any change in this area.
x/inference/keeper/permissions.go: most-fixed (2 issues). Treat as high-risk during review.
12 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.

Malicious Code: A backdoor validation mechanism ('IsAdmin') bypassed standard security procedures, allowing unauthorized administrative actions. Rigorous auditing of signature-verification pathways is required to prevent re-introduction of bypass checks.
Access Control: Lack of centralized permission checks led to vulnerabilities where messages could skip vital authorization steps. Ensuring all entry-point handlers flow through a unified enforcement mechanism is critical.
Denial of Service: Creation of invalid coin values (e.g., negative amounts via sdk.NewInt64Coin) triggered critical state-machine panics, halting block production. All inputs to stateful SDK functions must be validated beforehand.