Security context

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

proofsuite/amp-matching-engine
develop @ 2c32341
4
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
daos/order.go: most-fixed (1 issue). Treat as high-risk during review.
3 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: Orders could be cancelled without authorization due to a complete lack of signature verification on cancellation requests. Future development must guarantee that all state-modifying order operations enforce strict cryptographic verification of the requesting party.
Denial of Service: The use of 64-bit integers to represent and match high-precision order price points caused overflow vulnerabilities in the orderbook. Storing and querying price points as decimal-safe types (strings) is necessary to prevent numeric-driven application crashes.
Auth Bypass: Establishing MongoDB connections via TLS omitted database credentials from the DialInfo structure, leading to unauthenticated connection attempts. Any evolution of connection-pooling or DB-session logic must explicitly preserve and pass authentication configurations.