Security context

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

stablekernel/aqueduct
master @ 0af9712
12
Fixes
0
CVEs
HIGH
Peak severity
60.0%
Coverage
Highlights
Auth Bypass: 9 prior fixes. Scrutinize any change in this area.
lib/auth/authentication_server.dart: most-fixed (2 issues). Treat as high-risk during review.
10 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: Inadequate scope validation logic in the authorization server allowed client applications to request and potentially obtain unauthorized token scope escalations. Developers must ensure that all scope validations strictly verify subset relations using robust validation helpers.
Auth Bypass: Failure to invalidate existing access tokens during reused authorization code exchanges allowed potentially stolen or reused codes to successfully authenticate, compromising the OAuth flow.
Insecure Randomness: Using a non-secure pseudorandom number generator (PRNG) for token generation allowed for potential prediction of authorization tokens. Cryptographically secure random generators must be used.