Security context

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

mylxsw/aidea-server
main @ 01f2422
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
api/auth/user.go: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix 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: Hardcoded user IDs were previously used to grant internal laboratory privileges, allowing unauthorized access to restricted features if user IDs matched the legacy static values.
Denial of Service: Lack of limits on chat history context length allowed unconstrained token processing overhead, presenting a vector for CPU-exhaustion denial of service during payload handling.