Security context

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

fernandezpablo85/scribe-java
master @ 8970e8e
4
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
OAuth20Service.java: most-fixed (2 issues). 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: Signature validation could be bypassed if request parameters are not sorted lexicographically before hashing, allowing forgery of signed requests.
Cryptographic Issues: Failure to percent-encode apiSecret and tokenSecret before constructing the HMAC-SHA1 signing key leads to incorrect signatures, potentially enabling authentication bypass.
CSRF: Reusing a static state parameter across requests enables CSRF attacks; per-request state generation is required.