Security context

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

stocksharp/stocksharp
master @ ec81177
8
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
MatchingEngine/MatchingEngineAdapter.cs: most-fixed (2 issues). Treat as high-risk during review.
6 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: Two distinct bypasses: orders accepted during halted trading state, and market orders validated at zero price instead of actual execution price, enabling unfair fills or margin evasion.
Auth Bypass: Credential store accepted invalid email formats, allowing malformed entries that could bypass login validation or corrupt the store.
Auth Bypass: Accessing SessionId property triggered an automatic login/session initiation, potentially forcing unintended authentication and session fixation.